Skip to content

Commit 1e65f07

Browse files
committed
use es7.js extension
1 parent 13158de commit 1e65f07

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
File renamed without changes.

example/webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module.exports = {
2-
entry: './example/example.es',
2+
entry: './example/example.es7.js',
33
output: {
44
path: './example',
55
filename: 'build.js'
66
},
77
module: {
88
loaders: [
9-
{ test: /\.es$/, loader: 'babel?stage=0' }
9+
{ test: /\.es7\.js$/, loader: 'babel?stage=0' }
1010
]
1111
}
1212
}

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
},
77
module: {
88
loaders: [
9-
{ test: /\.es$/, loader: 'babel?stage=0' }
9+
{ test: /\.es7.js$/, loader: 'babel?stage=0' }
1010
]
1111
}
1212
}

0 commit comments

Comments
 (0)