Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3904185
D2433.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
797 B
Referenced Files
None
Subscribers
None
D2433.diff
View Options
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
Wed, Dec 18, 19:53 (2 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2304520
Default Alt Text
D2433.diff (797 B)
Attached To
Mode
D2433: Generate .babelrc
Attached
Detach File
Event Timeline
Log In to Comment