Skip to content

Commit

Permalink
Bump 1.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
frandiox committed Nov 21, 2017
1 parent 72ec6dc commit 347c970
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ gulp.task('vue-compile', function() {

* v0: Vueify's API is used internally. Therefore, any valid option for Vueify is valid here as well. See [Vueify options here](https://github.com/vuejs/vueify#configuring-options). Additionally, `options.ESModules` boolean option is available for removing the closure that Vueify adds automatically (which breaks ES modules). Passing `modules: false` in Babel's `env` preset automatically activates this option.

* v1: Will use [`vue-component-compiler`](https://github.com/vuejs/vue-component-compiler) internally when it's ready ([info here](https://github.com/vuejs/vue-component-compiler/issues/28)).
* v1: Uses [`vue-component-compiler`](https://github.com/vuejs/vue-component-compiler) internally ([more info here](https://github.com/vuejs/vue-component-compiler/issues/28)). `options.esModule` (default `true`), `options.parserConfig`, `options.templateCompilerConfig`, `options.babel`. Beta release does not support `style` tags.

## Examples

* v0: Compiling `*.vue` components to plain JavaScript using Babel and ES modules:
* Compiling `*.vue` components to plain JavaScript using Babel and ES modules:

```javascript
return gulp.src('components/**/*.vue')
Expand All @@ -43,7 +43,7 @@ return gulp.src('components/**/*.vue')
babelrc: false,
presets: [
['env', {
modules: false, // Keep ES modules
modules: false, // Keep ES modules in 'script' tag
targets: {
browsers: [ '> 1%', 'last 2 versions' ]
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gulp-vue-compiler",
"version": "0.0.1",
"version": "1.0.0-beta.0",
"description": "Vue single file component compiler plugin for Gulp",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 347c970

Please sign in to comment.