Skip to content

Commit

Permalink
Merge pull request #29 from Yummygum/fix/update-core-version
Browse files Browse the repository at this point in the history
Update core version that fixes HM size M flag
  • Loading branch information
Donovan Roubos authored Jan 15, 2021
2 parents 9af47dc + cbd1672 commit 66d096b
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 733 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ npm version <release_type>
```
This will update the version number in the `package.json`, and will add a git tag automatically. Next you'll need to push the git tag to the remote.
```
git push --tags origin master
git push --tags origin main
```
After that you'll need to publish to npm.
```
Expand Down
242 changes: 1 addition & 241 deletions dist/vue-flag-rollup.cjs.js

Large diffs are not rendered by default.

240 changes: 1 addition & 239 deletions dist/vue-flag-rollup.esm.js

Large diffs are not rendered by default.

243 changes: 1 addition & 242 deletions dist/vue-flag-rollup.iife.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@
}
],
"dependencies": {
"flagpack-core": "0.0.43"
"flagpack-core": "^1.0.0"
}
}
16 changes: 11 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
import commonjs from 'rollup-plugin-commonjs'
import VuePlugin from 'rollup-plugin-vue'
import { terser } from 'rollup-plugin-terser'

const isProduction = process.env.NODE_ENV === 'production'

const plugins = [
commonjs(),
VuePlugin()
]

if (isProduction) {
plugins.push(terser())
}

export default {
input: 'src/main.js',
plugins: [
commonjs(),
VuePlugin(),
isProduction && (import('rollup-plugin-terser')).terser()
],
plugins,
external: ['vue', 'flagpack-core'],
output: [
{
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2639,10 +2639,10 @@ find-up@^4.0.0:
locate-path "^5.0.0"
path-exists "^4.0.0"

flagpack-core@0.0.43:
version "0.0.43"
resolved "https://registry.yarnpkg.com/flagpack-core/-/flagpack-core-0.0.43.tgz#96ccf9360d59908d17f002303021c737c5b8aed9"
integrity sha512-tINdWZO/FXA+EWLXyvZrIo7dmxFcpEuWiPOVecRCBHMSMmQ7gMq3Jpw1Kt3gUT87d47rAd/KVlN4ug0zDcu40w==
flagpack-core@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/flagpack-core/-/flagpack-core-1.0.0.tgz#1006b7efa4cc8f1d04dfe8e63cbc1e942b909a38"
integrity sha512-xKNFPkF+sKFY+pP7fsHD8KkuHKl5ZUX8eY2Vzt7lNv9m0ndtchzLx+gdZrJd/3QZfTyi9U40y9WVYAEBy0w++g==

flatten@^1.0.2:
version "1.0.3"
Expand Down

0 comments on commit 66d096b

Please sign in to comment.