Commit 2f98be3d authored by Marc Mautz's avatar Marc Mautz

updated "umd" & "commonjs2" export

parent 76146873
...@@ -79,7 +79,7 @@ module.exports = [ ...@@ -79,7 +79,7 @@ module.exports = [
} }
}), }),
merge(config, { merge(config, {
entry: resolve(__dirname, '../src/components/VueShuffle.vue'), entry: resolve(__dirname, '../src/index.js'),
output: { output: {
filename: 'vue-shufflejs-plugin.js', filename: 'vue-shufflejs-plugin.js',
libraryTarget: 'umd', libraryTarget: 'umd',
...@@ -88,7 +88,7 @@ module.exports = [ ...@@ -88,7 +88,7 @@ module.exports = [
} }
}), }),
merge(config, { merge(config, {
entry: resolve(__dirname, '../src/components/VueShuffle.vue'), entry: resolve(__dirname, '../src/index.js'),
output: { output: {
filename: 'vue-shufflejs-plugin.common.js', filename: 'vue-shufflejs-plugin.common.js',
libraryTarget: 'commonjs2', libraryTarget: 'commonjs2',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment