Skip to content

Commit

Permalink
updated external definition to fix bug on webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
apoorvpal01 committed Mar 28, 2023
1 parent b13a428 commit 4f7f355
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 53 deletions.
109 changes: 58 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mayasabha/ckeditor4-vue3",
"version": "0.0.8",
"version": "0.0.9",
"main": "dist/ckeditor.js",
"files": [
"dist/",
Expand Down
7 changes: 6 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,12 @@ function createConfig( filename, presets = [], polyfills = [] ) {
},

externals: {
vue: 'Vue',
vue: {
commonjs: 'vue',
commonjs2: 'vue',
amd: 'vue',
root: 'Vue',
},
},
};
}

0 comments on commit 4f7f355

Please sign in to comment.