|
@ -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, |
|
|