Skip to content

Commit c4941c5

Browse files
committed
refactor: add new build output
This will replace the webpack implementation. I will continue monitoring this build. Related to problem #83
1 parent 29df424 commit c4941c5

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

rollup.config.js

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
module.exports = {
22
input: 'src/index.js',
3-
output: {
4-
file: 'build/vue-html-to-paper.js',
5-
name: 'VueHtmlToPaper',
6-
format: 'umd',
7-
},
3+
output: [
4+
{
5+
file: 'build/vue-html-to-paper.js',
6+
name: 'VueHtmlToPaper',
7+
format: 'umd',
8+
},
9+
{
10+
file: 'dist/index.js',
11+
format: 'cjs',
12+
exports: 'named',
13+
},
14+
],
815
};

0 commit comments

Comments
 (0)