Skip to content

Commit 3ffbf5f

Browse files
committed
Move config to package.json
1 parent 1f61489 commit 3ffbf5f

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,13 @@
6363
"extends": [
6464
"config:base"
6565
]
66+
},
67+
"rollup": {
68+
"input": "dist/index.js",
69+
"output": {
70+
"file": "dist/index.umd.js",
71+
"format": "umd",
72+
"name": "@abraham/reflection"
73+
}
6674
}
6775
}

rollup.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1 @@
1-
export default {
2-
input: 'dist/index.js',
3-
output: {
4-
file: 'dist/index.umd.js',
5-
format: 'umd',
6-
name: '@abraham/reflection',
7-
}
8-
};
1+
export { rollup as default } from './package.json';

0 commit comments

Comments
 (0)