Page MenuHomeDevCentral

D2434.id6117.diff
No OneTemporary

D2434.id6117.diff

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

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)

Event Timeline