From 9775e147700a4836f06ef1f56ae8ef1fafad9c6a Mon Sep 17 00:00:00 2001
From: Justin Schroeder
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