Browse Source

Update Rollup to 0.20.1

update-to-0.20.1
Oskar Segersvärd 9 years ago
parent
commit
0931e3ecdf
  1. 2
      package.json
  2. 4
      src/app/main.js

2
package.json

@ -31,6 +31,6 @@
"ractive": "^0.7.3", "ractive": "^0.7.3",
"ractive-events-tap": "^0.2.0", "ractive-events-tap": "^0.2.0",
"ractive-transitions-slide": "^0.2.1", "ractive-transitions-slide": "^0.2.1",
"rollup": "^0.19.1" "rollup": "^0.20.1"
} }
} }

4
src/app/main.js

@ -74,6 +74,8 @@ if ( supported ) {
/*global rollup */ /*global rollup */
rollup.rollup({ rollup.rollup({
entry: 'main', entry: 'main',
plugins: [
{
resolveId ( importee, importer ) { resolveId ( importee, importer ) {
if ( !importer ) return importee; if ( !importer ) return importee;
if ( importee[0] !== '.' ) return false; if ( importee[0] !== '.' ) return false;
@ -90,6 +92,8 @@ if ( supported ) {
return module.code; return module.code;
} }
}
]
}).then( bundle => { }).then( bundle => {
output.set({ output.set({
imports: bundle.imports, imports: bundle.imports,

Loading…
Cancel
Save