parent
beb52bc471
commit
9db5ce551e
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,11 @@ const webpack = 'webpack'
|
||||||
|
|
||||||
const config = module.exports = {
|
const config = module.exports = {
|
||||||
context: __dirname,
|
context: __dirname,
|
||||||
|
plugins: [
|
||||||
|
new webpack.DefinePlugin({
|
||||||
|
"process.env.NODE_ENV": `"${process.env.NODE_ENV || 'development'}"`
|
||||||
|
})
|
||||||
|
],
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue