Skip to content

Commit 42a8662

Browse files
committed
chore(build): Add sourcemaps
1 parent e1973f7 commit 42a8662

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rollup.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const config = {
1212

1313
if (env === 'es' || env === 'cjs') {
1414
config.format = env;
15+
config.sourceMap = true;
1516
config.external = [
1617
'invariant',
1718
'lodash.curry',
@@ -29,6 +30,7 @@ if (env === 'es' || env === 'cjs') {
2930
if (env === 'development' || env === 'production') {
3031
config.format = 'umd';
3132
config.moduleName = 'NgRedux';
33+
config.sourceMap = true;
3234
config.plugins.push(
3335
nodeResolve({
3436
jsnext: true,

0 commit comments

Comments
 (0)