Skip to content

Instantly share code, notes, and snippets.

@jrgleason
Last active April 1, 2020 19:46
Show Gist options
  • Save jrgleason/06e054f1768260a287884a83609f1e2a to your computer and use it in GitHub Desktop.
Save jrgleason/06e054f1768260a287884a83609f1e2a to your computer and use it in GitHub Desktop.
Rollup issue
console.log("Hello World");
{
"name": "fail-rollup",
"version": "1.0.0",
"main": "index.mjs",
"out":"index.umd.js",
"license": "ISC",
"devDependencies": {
"rollup": "2.1.0"
}
}
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