1
0
mirror of synced 2026-04-23 10:01:11 +00:00

add rollup json plugin (#54)

This commit is contained in:
Duncan Chen
2018-02-13 20:38:34 -08:00
committed by Jason Dreyzehner
parent 0125830664
commit a211a54c1f
4 changed files with 546 additions and 157 deletions

View File

@@ -2,6 +2,7 @@
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
import alias from 'rollup-plugin-alias';
import json from 'rollup-plugin-json';
const substituteModulePaths = {
'crypto': 'build/module/adapters/crypto.browser.js',
@@ -16,6 +17,7 @@ export default {
nodeResolve({
browser: true
}),
commonjs()
commonjs(),
json()
]
}