babel config for client
This commit is contained in:
parent
003c9766bc
commit
5408d994be
|
@ -6,10 +6,7 @@ const jsLoader = {
|
||||||
test: /\.(js|jsx)$/,
|
test: /\.(js|jsx)$/,
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
use: {
|
use: {
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader'
|
||||||
options: {
|
|
||||||
presets: ['@babel/env', '@babel/react']
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue