diff --git a/.circleci/config.yml b/.circleci/config.yml index 43040f9..03d74ca 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ jobs: build: working_directory: ~/project docker: - - image: alekzonder/puppeteer # base pluginImage: node/8-slim + - image: circleci/node:12-browsers steps: - checkout - run: diff --git a/CHANGELOG.md b/CHANGELOG.md index ac2d331..7434aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,143 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [5.1.9](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.8...v5.1.9) (2020-05-22) + + +### Bug Fixes + +* regression caused by [@vue](https://github.com/vue)/component-compiler ([e533f82](https://github.com/vuejs/rollup-plugin-vue/commit/e533f82)) + + + + +## [5.1.8](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.7...v5.1.8) (2020-05-22) + + +### Bug Fixes + +* produce deterministic css class names for css modules ([70818c2](https://github.com/vuejs/rollup-plugin-vue/commit/70818c2)) + + + + +## [5.1.7](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.6...v5.1.7) (2020-05-11) + + +### Bug Fixes + +* bump component-compiler to allow tree-shaking ([a85e6d9](https://github.com/vuejs/rollup-plugin-vue/commit/a85e6d9)) +* provide scopeId to template compiler when the component has scoped styles ([#337](https://github.com/vuejs/rollup-plugin-vue/issues/337)) ([1fec2c5](https://github.com/vuejs/rollup-plugin-vue/commit/1fec2c5)) +* some wording ([#339](https://github.com/vuejs/rollup-plugin-vue/issues/339)) ([6a94a53](https://github.com/vuejs/rollup-plugin-vue/commit/6a94a53)) + + + + +## [5.1.6](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.5...v5.1.6) (2020-01-22) + + +### Bug Fixes + +* **tsconfig.json:** transpile async await in order to be compatible to rollup-plugin-typescript2 ([#324](https://github.com/vuejs/rollup-plugin-vue/issues/324)) ([deb4a1b](https://github.com/vuejs/rollup-plugin-vue/commit/deb4a1b)) + + + + +## [5.1.5](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.4...v5.1.5) (2020-01-06) + + + + +## [5.1.4](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.3...v5.1.4) (2019-11-21) + + +### Bug Fixes + +* use inline block language in part request ([7434ea2](https://github.com/vuejs/rollup-plugin-vue/commit/7434ea2)) + + + + +## [5.1.3](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.2...v5.1.3) (2019-11-21) + + +### Bug Fixes + +* call transformer from whitelisted custom blocks ([#310](https://github.com/vuejs/rollup-plugin-vue/issues/310)) ([ab13f3b](https://github.com/vuejs/rollup-plugin-vue/commit/ab13f3b)) + + + + +## [5.1.2](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.1...v5.1.2) (2019-10-27) + + +### Bug Fixes + +* use local runtime helpers for externalising vue-runtime-helpers ([3b0b4de](https://github.com/vuejs/rollup-plugin-vue/commit/3b0b4de)) + + + + +## [5.1.1](https://github.com/vuejs/rollup-plugin-vue/compare/v5.1.0...v5.1.1) (2019-10-26) + + +### Bug Fixes + +* typo in option name ([7b848ee](https://github.com/vuejs/rollup-plugin-vue/commit/7b848ee)) + + + + +# [5.1.0](https://github.com/vuejs/rollup-plugin-vue/compare/v5.0.1...v5.1.0) (2019-10-26) + + +### Features + +* Add support for shadow DOM style injection ([9a0e7cf](https://github.com/vuejs/rollup-plugin-vue/commit/9a0e7cf)) + + + + +## [5.0.1](https://github.com/vuejs/rollup-plugin-vue/compare/v5.0.0...v5.0.1) (2019-06-26) + + + + +# [5.0.0](https://github.com/vuejs/rollup-plugin-vue/compare/v4.7.2...v5.0.0) (2019-04-11) + + +### Chores + +* Upgrade [@vue](https://github.com/vue)/component-compiler & [@vue](https://github.com/vue)/component-compiler-utils ([e215fe7](https://github.com/vuejs/rollup-plugin-vue/commit/e215fe7)) + + +### BREAKING CHANGES + +* `@vue/component-compiler-utils@3.0.0` uses `sass` instead of `node-sass` + + + + +## [4.7.2](https://github.com/vuejs/rollup-plugin-vue/compare/v4.7.1...v4.7.2) (2019-02-20) + + +### Bug Fixes + +* Add needMap option to disable source maps ([3f879f3](https://github.com/vuejs/rollup-plugin-vue/commit/3f879f3)) + + + + +## [4.7.1](https://github.com/vuejs/rollup-plugin-vue/compare/v4.7.0...v4.7.1) (2019-02-05) + + +### Bug Fixes + +* Add deprecation warning for *CustomBlocks options ([eb1c863](https://github.com/vuejs/rollup-plugin-vue/commit/eb1c863)) + + + # [4.7.0](https://github.com/vuejs/rollup-plugin-vue/compare/v4.6.2...v4.7.0) (2019-02-05) diff --git a/README.md b/README.md index dd3bb52..ada788a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ## Introduction -As vue-loader is for webpack and vueify is for browserify, similarly its for rollup. As we know, webpack and browserify concat stuff and make it runnable in browser. Its difficult to share .vue components. **Now roll your [Vue](http://vuejs.org/) components.** +As vue-loader is for webpack, so is this for rollup. As we know, webpack concats stuff and makes it runnable in the browser. It's difficult to share .vue components. **Now roll your [Vue](http://vuejs.org/) components.** With rollup you can break your application into reusable modules. @@ -15,6 +15,9 @@ With rollup you can break your application into reusable modules. Coverage Status + + Version +

## Usage @@ -22,7 +25,7 @@ With rollup you can break your application into reusable modules. > This document applies to v4.0+. If you are looking for older versions, docs are [here](https://github.com/vuejs/rollup-plugin-vue/tree/2.2/docs) ```js -import commonjs from 'rollup-plugin-commonjs' +import commonjs from '@rollup/plugin-commonjs' import VuePlugin from 'rollup-plugin-vue' export default { @@ -34,6 +37,8 @@ export default { } ``` +See [available options](https://rollup-plugin-vue.vuejs.org/options.html) for `VuePluginOptions`. + ## Security If you discover any security related issues, please email hi@znck.me instead of using the issue tracker. diff --git a/cookbook/ssr/package.json b/cookbook/ssr/package.json index 954f7a4..edffa57 100644 --- a/cookbook/ssr/package.json +++ b/cookbook/ssr/package.json @@ -5,7 +5,7 @@ }, "main": "./dist/MyComponent.js", "devDependencies": { - "rollup": "^0.59.4", + "rollup": "^1.1.0", "rollup-plugin-vue": "link:../.." } } diff --git a/cookbook/ssr/src/MyComponent.vue b/cookbook/ssr/src/MyComponent.vue index 9d14df0..1e8647a 100644 --- a/cookbook/ssr/src/MyComponent.vue +++ b/cookbook/ssr/src/MyComponent.vue @@ -1,5 +1,7 @@