vue-sfc-rollup
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -7,2 +7,9 @@ # Changelog | ||
## [3.0.1] - 2020-06-05 | ||
### Fixed | ||
- Fixes [#41](https://github.com/team-innovation/vue-sfc-rollup/issues/41) - Update babel.config.js to fix dev mode via vue-cli-service | ||
- Dev mode uses @vue/babel-preset-app | ||
- Build mode uses @babel/preset-env and @babel/preset-typescript (if writing typescript) | ||
## [3.0.0] - 2020-04-29 | ||
@@ -9,0 +16,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"license": "ISC", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"bin": { | ||
@@ -9,0 +9,0 @@ "sfc-init": "./sfc-init.js" |
@@ -0,8 +1,5 @@ | ||
const devPresets = ['@vue/babel-preset-app']; | ||
const buildPresets = ['@babel/preset-env'<% if (ts) { -%>, '@babel/preset-typescript'<% } -%>]; | ||
module.exports = { | ||
presets: [ | ||
'@babel/preset-env', | ||
<% if (ts) { -%> | ||
'@babel/preset-typescript', | ||
<% } -%> | ||
], | ||
presets: (process.env.NODE_ENV === 'development' ? devPresets : buildPresets), | ||
}; |
@@ -0,8 +1,5 @@ | ||
const devPresets = ['@vue/babel-preset-app']; | ||
const buildPresets = ['@babel/preset-env'<% if (ts) { -%>, '@babel/preset-typescript'<% } -%>]; | ||
module.exports = { | ||
presets: [ | ||
'@babel/preset-env', | ||
<% if (ts) { -%> | ||
'@babel/preset-typescript', | ||
<% } -%> | ||
], | ||
presets: (process.env.NODE_ENV === 'development' ? devPresets : buildPresets), | ||
}; |
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
48660
857