Last active
April 1, 2020 19:46
-
-
Save jrgleason/06e054f1768260a287884a83609f1e2a to your computer and use it in GitHub Desktop.
Rollup issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello World"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "fail-rollup", | |
"version": "1.0.0", | |
"main": "index.mjs", | |
"out":"index.umd.js", | |
"license": "ISC", | |
"devDependencies": { | |
"rollup": "2.1.0" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pkg from './package.json'; | |
const build = { | |
input: pkg.main, | |
output:[ | |
{ | |
name:'test', | |
file:pkg.out, | |
format:'umd' | |
} | |
] | |
} | |
export default [build] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment