-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
You don't need this loader for two reasons:
1. You don't need loaders that just wrap browserify transforms.
There is a loader that does that: transform-loader.
{
module: {
postLoaders: [
{
loader: "transform?envify"
}
]
}
}2. The DefinePlugin offers the same functionality
{
plugins: [
new webpack.DefinePlugin({
"process.env": Object.keys(process.env).reduce(function(o, k) {
o[k] = JSON.stringify(process.env[k]);
return o;
}, {})
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels