8000 Remove require statements from the dist package (#136) · cloudinary/cloudinary-vue@7d76d70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d76d70

Browse files
Remove require statements from the dist package (#136)
1 parent b8c9282 commit 7d76d70

12 files changed

+40485
-3318
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ yarn-error.log*
2727
# report files
2828
coverage
2929
jest_html_reporters.html
30+
31+
docs-build

babel.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module.exports = {
2-
presets: ["@vue/app"],
3-
plugins: ["@babel/plugin-proposal-optional-chaining", ["@babel/plugin-transform-runtime", { corejs: 2 }]]
2+
"presets": [["@vue/cli-plugin-babel/preset"]],
3+
plugins: ["@babel/plugin-proposal-optional-chaining", "@babel/plugin-transform-runtime"]
44
};

bundlewatch.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ const bundlewatchConfig = {
22
files: [
33
{
44
path: './dist/Cloudinary.umd.js',
5-
maxSize: '15kb'
5+
maxSize: '150kb'
66
},
77
{
88
path: './dist/Cloudinary.umd.min.js',
9-
maxSize: '7kb'
9+
maxSize: '70kb'
1010
}
1111
],
1212
defaultCompression: 'gzip',

0 commit comments

Comments
 (0)
0