diff --git a/README.md b/README.md index 2648e80..bec1b01 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ - +
diff --git a/build/rollup.config.js b/build/rollup.config.js index d4c1fe2..1dc827f 100644 --- a/build/rollup.config.js +++ b/build/rollup.config.js @@ -1,3 +1,4 @@ +import autoExternal from 'rollup-plugin-auto-external' import commonjs from 'rollup-plugin-commonjs' // Convert CommonJS modules to ES6 import vue from 'rollup-plugin-vue' // Handle .vue SFC files import buble from 'rollup-plugin-buble' // Transpile/polyfill with reasonable browser support @@ -7,17 +8,17 @@ export default { input: 'src/Formulate.js', // Path relative to package.json output: { name: 'Formulate', - exports: 'named', - globals: { - 'is-plain-object': 'isPlainObject', - 'nanoid': 'nanoid', - 'is-url': 'isUrl', - 'clone-deep': 'cloneDeep' - } + exports: 'named' + // globals: { + // 'is-plain-object': 'isPlainObject', + // 'nanoid': 'nanoid', + // 'is-url': 'isUrl' + // } }, - external: ['is-plain-object', 'nanoid', 'is-url', 'clone-deep'], + // external: ['is-plain-object', 'nanoid', 'is-url'], plugins: [ commonjs(), + autoExternal(), vue({ css: true, // Dynamically inject css as a