Dev: Rename ext es6 to js

This commit is contained in:
surunzi
2017-10-01 11:30:10 +08:00
parent 55ccdd1b6d
commit 5bbebb686b
34 changed files with 53 additions and 50 deletions

View File

@@ -17,7 +17,7 @@ var postcssLoader = {
};
module.exports = {
entry: './src/index.es6',
entry: './src/index',
devServer: {
contentBase: './test',
port: 3000
@@ -31,8 +31,9 @@ module.exports = {
module: {
loaders: [
{
test: /\.es6$/,
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
options: {
presets: ['es2015'],
plugins: ['transform-runtime']