Skip to content

Commit 3fde8bf

Browse files
authored
Merge pull request #160 from deini/removeBrowser
fix(build): Removed browser entry from package.json
2 parents e1973f7 + 417dd09 commit 3fde8bf

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "ng-redux",
33
"version": "3.5.0",
44
"description": "Redux bindings for Angular.js",
5-
"browser": "dist/ng-redux.js",
65
"main": "lib/ng-redux.js",
76
"module": "es/ng-redux.js",
87
"typings": "./index.d.ts",

rollup.config.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ if (env === 'development' || env === 'production') {
3030
config.format = 'umd';
3131
config.moduleName = 'NgRedux';
3232
config.plugins.push(
33+
replace({
34+
'process.env.NODE_ENV': JSON.stringify(env)
35+
}),
3336
nodeResolve({
3437
jsnext: true,
3538
}),
3639
commonjs(),
3740
babel({
3841
exclude: 'node_modules/**'
39-
}),
40-
replace({
41-
'process.env.NODE_ENV': JSON.stringify(env)
4242
})
4343
)
4444
}

0 commit comments

Comments
 (0)