mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-18 22:10:41 -07:00
refactor: bundle template.js respectively
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import shim from 'rollup-plugin-shim'
|
||||
import alias from 'rollup-plugin-alias'
|
||||
import babel from 'rollup-plugin-babel'
|
||||
import {uglify} from 'rollup-plugin-uglify'
|
||||
import pkg from './package.json'
|
||||
@@ -48,6 +49,9 @@ export default [{
|
||||
}],
|
||||
plugins: [
|
||||
shim(fake),
|
||||
alias({
|
||||
'./template': './template-browser'
|
||||
}),
|
||||
nodeResolve(),
|
||||
babel(babelConf)
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user