Page MenuHomeDevCentral

D2433.diff
No OneTemporary

D2433.diff

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

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)

Event Timeline