rollup-plugin-vue
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -5,2 +5,7 @@ # Change Log | ||
<a name="4.3.1"></a> | ||
## [4.3.1](https://github.com/vuejs/rollup-plugin-vue/compare/v4.3.0...v4.3.1) (2018-07-13) | ||
<a name="4.3.0"></a> | ||
@@ -7,0 +12,0 @@ # [4.3.0](https://github.com/vuejs/rollup-plugin-vue/compare/v4.2.0...v4.3.0) (2018-06-24) |
import { ScriptOptions, StyleOptions, TemplateOptions } from '@vue/component-compiler'; | ||
import { Plugin } from 'rollup'; | ||
import { VueTemplateCompiler, VueTemplateCompilerParseOptions } from '@vue/component-compiler-utils/dist/types'; | ||
export interface VuePluginOptions { | ||
@@ -53,2 +54,5 @@ /** | ||
css?: boolean; | ||
compiler?: VueTemplateCompiler; | ||
compilerParseOptions?: VueTemplateCompilerParseOptions; | ||
sourceRoot?: string; | ||
/** | ||
@@ -55,0 +59,0 @@ * @@vue/component-compiler [#](https://github.com/vuejs/vue-component-compiler#api) script processing options. |
@@ -16,2 +16,3 @@ "use strict"; | ||
const debug_1 = require("debug"); | ||
const templateCompiler = require('vue-template-compiler'); | ||
const hash = require('hash-sum'); | ||
@@ -92,2 +93,5 @@ const d = debug_1.default('rollup-plugin-vue'); | ||
source, | ||
compiler: opts.compiler || templateCompiler, | ||
compilerParseOptions: opts.compilerParseOptions, | ||
sourceRoot: opts.sourceRoot, | ||
needMap: true | ||
@@ -94,0 +98,0 @@ }); |
{ | ||
"name": "rollup-plugin-vue", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Roll .vue files", | ||
@@ -47,4 +47,4 @@ "author": "Rahul Kadyan <hi@znck.me>", | ||
"@babel/runtime": "^7.0.0-beta.46", | ||
"@vue/component-compiler": "^3.3.2", | ||
"@vue/component-compiler-utils": "^1.2.1", | ||
"@vue/component-compiler": "^3.4.1", | ||
"@vue/component-compiler-utils": "^2.1.0", | ||
"debug": "^2.6.0", | ||
@@ -51,0 +51,0 @@ "hash-sum": "^1.0.2", |
@@ -21,3 +21,5 @@ import { | ||
import debug from 'debug' | ||
import { VueTemplateCompiler, VueTemplateCompilerParseOptions } from '@vue/component-compiler-utils/dist/types' | ||
const templateCompiler = require('vue-template-compiler') | ||
const hash = require('hash-sum') | ||
@@ -77,2 +79,5 @@ const d = debug('rollup-plugin-vue') | ||
css?: boolean | ||
compiler?: VueTemplateCompiler | ||
compilerParseOptions?: VueTemplateCompilerParseOptions | ||
sourceRoot?: string | ||
/** | ||
@@ -193,2 +198,5 @@ * @@vue/component-compiler [#](https://github.com/vuejs/vue-component-compiler#api) script processing options. | ||
source, | ||
compiler: opts.compiler || templateCompiler, | ||
compilerParseOptions: opts.compilerParseOptions, | ||
sourceRoot: opts.sourceRoot, | ||
needMap: true | ||
@@ -195,0 +203,0 @@ }) |
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
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
37893
721
+ Addednanoid@3.3.7(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedpostcss@8.4.47(transitive)
+ Addedsource-map-js@1.2.1(transitive)
- Removed@vue/component-compiler-utils@1.3.1(transitive)
- Removeddot-prop@5.3.0(transitive)
- Removedis-obj@2.0.0(transitive)
- Removedpostcss-selector-parser@3.1.2(transitive)