Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-sfc-rollup

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-sfc-rollup - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

7

CHANGELOG.md

@@ -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 @@

2

package.json

@@ -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),
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc