Skip to content

Commit 47329ba

Browse files
committedJan 19, 2020
Updated application template dotfiles
1 parent f81b260 commit 47329ba

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed
 

‎src/tasks/scaffold.js

-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ const scaffoldPackage = type => async ({logger, options, args}) => {
147147
: ['server.js', 'index.scss'];
148148

149149
const files = [
150-
'.babelrc',
151150
'index.js',
152151
'webpack.config.js',
153152
'package.json',

‎src/templates/application/.babelrc

-8
This file was deleted.

‎src/templates/application/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
"webpack": "^4.28.4",
2828
"webpack-cli": "^3.2.1"
2929
},
30+
"babel": {
31+
"presets": [
32+
"@babel/preset-env"
33+
],
34+
"plugins": [
35+
"@babel/plugin-transform-runtime"
36+
]
37+
},
3038
"osjs": {
3139
"type": "package"
3240
}

‎src/templates/iframe-application/.babelrc

-8
This file was deleted.

‎src/templates/iframe-application/package.json

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
"webpack": "^4.28.4",
2020
"webpack-cli": "^3.2.1"
2121
},
22+
"babel": {
23+
"presets": [
24+
"@babel/preset-env"
25+
],
26+
"plugins": [
27+
"@babel/plugin-transform-runtime"
28+
]
29+
},
2230
"osjs": {
2331
"type": "package"
2432
}

0 commit comments

Comments
 (0)
Please sign in to comment.