mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-23 12:11:16 +00:00
fix preset requires
This commit is contained in:
parent
8d255137d9
commit
511b61c6c5
@ -207,8 +207,8 @@ class Pipeline {
|
||||
loader: "babel-loader",
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
options: {
|
||||
presets: ['es2016', 'es2017', 'react'],
|
||||
plugins: ["babel-plugin-webpack-aliases"]
|
||||
presets: ['babel-preset-es2016', 'babel-preset-es2017', 'babel-preset-react'].map(require.resolve),
|
||||
plugins: ["babel-plugin-webpack-aliases"].map(require.resolve)
|
||||
}
|
||||
}
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user