mirror of https://github.com/lukechilds/rollup.git
Rich Harris
9 years ago
8 changed files with 43 additions and 1 deletions
@ -0,0 +1,4 @@ |
|||
module.exports = { |
|||
description: 'uses shared config for each target', |
|||
command: 'rollup -c' |
|||
}; |
@ -0,0 +1,6 @@ |
|||
'use strict'; |
|||
|
|||
var main = 0; |
|||
|
|||
module.exports = main; |
|||
//# sourceMappingURL=cjs.js.map
|
@ -0,0 +1 @@ |
|||
{"version":3,"file":"cjs.js","sources":["../main.js"],"sourcesContent":["export default 0;\n"],"names":[],"mappings":";;WAAe,CAAC,CAAC,;;"} |
@ -0,0 +1,4 @@ |
|||
var main = 0; |
|||
|
|||
export default main; |
|||
//# sourceMappingURL=es6.js.map
|
@ -0,0 +1 @@ |
|||
{"version":3,"file":"es6.js","sources":["../main.js"],"sourcesContent":["export default 0;\n"],"names":[],"mappings":"WAAe,CAAC,CAAC,;;"} |
@ -0,0 +1 @@ |
|||
export default 0; |
@ -0,0 +1,14 @@ |
|||
export default { |
|||
entry: 'main.js', |
|||
sourceMap: true, |
|||
targets: [ |
|||
{ |
|||
format: 'cjs', |
|||
dest: '_actual/cjs.js' |
|||
}, |
|||
{ |
|||
format: 'es6', |
|||
dest: '_actual/es6.js' |
|||
} |
|||
] |
|||
}; |
Loading…
Reference in new issue