Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3780623
D2434.id6117.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1004 B
Referenced Files
None
Subscribers
None
D2434.id6117.diff
View Options
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@
cd tests/site
cp ../../config.yml .
cp -Rp ../../template/* .
- make
+ make
publish:
upsection package.json
diff --git a/components/babelrc b/components/babelrc
new file mode 100644
--- /dev/null
+++ b/components/babelrc
@@ -0,0 +1,6 @@
+{
+ "presets": [
+ "@babel/preset-env"
+ ],
+ "compact": false
+}
diff --git a/template/Makefile b/template/Makefile
--- a/template/Makefile
+++ b/template/Makefile
@@ -6,7 +6,7 @@
# Main targets
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-ALL_TARGETS=package.json .browserslistrc gulpfile.babel.js node_modules
+ALL_TARGETS=package.json .babelrc .browserslistrc gulpfile.babel.js node_modules
CLEAN_TARGETS=dist/ ${ALL_TARGETS}
all: ${ALL_TARGETS}
@@ -31,5 +31,8 @@
node_modules: package.json
npm install
+.babelrc:
+ ${CP} ${SOURCE}/babelrc .babelrc
+
gulpfile.babel.js:
${CP} ${SOURCE}/gulpfile.js gulpfile.babel.js
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 26, 15:51 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264782
Default Alt Text
D2434.id6117.diff (1004 B)
Attached To
Mode
D2434: Fix \t in Makefile
Attached
Detach File
Event Timeline
Log In to Comment