bv-form-image-group
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "bv-form-image-group", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"scripts": { | ||
@@ -8,3 +8,4 @@ "build": "rollup -c --environment BUILD:production", | ||
}, | ||
"main": "dist/bv-form-image-group.umd.js", | ||
"main": "dist/bv-form-image-group.ssr.js", | ||
"browser": "dist/bv-form-image-group.umd.js", | ||
"module": "dist/bv-form-image-group.esm.js", | ||
@@ -17,8 +18,8 @@ "author": "FrontendMatter <contact@frontendmatter.com> (http://www.frontendmatter.com)", | ||
"devDependencies": { | ||
"@rollup/plugin-alias": "^3.1.1", | ||
"@rollup/plugin-commonjs": "^15.1.0", | ||
"@rollup/plugin-node-resolve": "^9.0.0", | ||
"bootstrap": "^4.1.3", | ||
"node-sass": "^4.11.0", | ||
"rollup": "^1.21.2", | ||
"rollup-plugin-alias": "^2.0.0", | ||
"rollup-plugin-buble": "^0.19.8", | ||
"rollup-plugin-commonjs": "^10.1.0", | ||
"rollup": "^2.28.2", | ||
"rollup-plugin-css-only": "^1.0.0", | ||
@@ -25,0 +26,0 @@ "rollup-plugin-peer-deps-external": "^2.2.0", |
import vue from 'rollup-plugin-vue' | ||
import alias from 'rollup-plugin-alias' | ||
import alias from '@rollup/plugin-alias' | ||
import resolve from '@rollup/plugin-node-resolve' | ||
import peerDepsExternal from 'rollup-plugin-peer-deps-external' | ||
import buble from 'rollup-plugin-buble' | ||
import commonjs from 'rollup-plugin-commonjs' | ||
import commonjs from '@rollup/plugin-commonjs' | ||
import css from 'rollup-plugin-css-only' | ||
const path = require('path') | ||
const customResolver = resolve({ | ||
extensions: ['.js', '.vue'] | ||
}) | ||
const plugins = [ | ||
peerDepsExternal(), | ||
// peerDepsExternal(), | ||
alias({ | ||
resolve: ['.js', '.vue'], | ||
'~': __dirname + '/src' | ||
entries: [ | ||
{ | ||
find: '~', | ||
replacement: path.resolve(__dirname, 'src') | ||
} | ||
] | ||
}), | ||
resolve({ | ||
extensions: ['.js', '.vue'] | ||
}), | ||
commonjs(), | ||
css({ | ||
output: 'dist/bv-form-image-group.css' | ||
}), | ||
vue({ | ||
@@ -28,4 +37,4 @@ css: false, | ||
}), | ||
buble({ | ||
objectAssign: 'Object.assign' | ||
css({ | ||
output: 'dist/bv-form-image-group.css' | ||
}) | ||
@@ -43,5 +52,16 @@ ] | ||
}, | ||
// SSR build. | ||
{ | ||
input: 'src/index.js', | ||
output: { | ||
format: 'cjs', | ||
file: 'dist/bv-form-image-group.ssr.js' | ||
}, | ||
plugins | ||
}, | ||
{ | ||
input: 'src/index.js', | ||
output: { | ||
format: 'umd', | ||
@@ -51,4 +71,4 @@ name: 'BvFormImageGroup', | ||
}, | ||
plugins: plugins | ||
plugins | ||
} | ||
] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
784596
10
25234
1