Socket
Socket
Sign inDemoInstall

rollup-plugin-vue

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-vue - npm Package Compare versions

Comparing version 6.0.0-alpha.6 to 6.0.0-alpha.7

2

dist/index.js

@@ -238,3 +238,3 @@ "use strict";

}
output.push('import { defineComponent } from "vue"; export default defineComponent(script)');
output.push('export default script');
return output.join('\n');

@@ -241,0 +241,0 @@ }

{
"name": "rollup-plugin-vue",
"version": "6.0.0-alpha.6",
"version": "6.0.0-alpha.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -1,27 +0,44 @@

# TSDX Bootstrap
# rollup-plugin-vue@next
This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).
> Roll Vue 3 SFCs with Rollup.
## Local Development
Below is a list of commands you will probably find useful.
``` js
import vuePlugin from 'rollup-plugin-vue'
### `npm start` or `yarn start`
export default {
plugins: [
vuePlugin(/* options */)
]
}
```
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for your convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
## Options
<img src="https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif" width="600" />
``` js
export interface Options {
include: string | RegExp | (string | RegExp)[]
exclude: string | RegExp | (string | RegExp)[]
Your library will be rebuilt if you make edits.
// use 'node' if compiling for SSR
target: 'node' | 'browser'
### `npm run build` or `yarn build`
// if true, will attach __file to component even in production.
// defaults to false.
exposeFilename: boolean
Bundles the package to the `dist` folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
// if true, handle preprocessors directly instead of delegating to other
// rollup plugins
// defaults to false.
preprocessStyles?: boolean
cssModulesOptions?: {
// https://github.com/css-modules/postcss-modules#usage
}
<img src="https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif" width="600" />
### `npm test` or `yarn test`
Runs the test watcher (Jest) in an interactive mode.
By default, runs tests related to files changed since the last commit.
// these are simply passed on to @vue/compiler-sfc
compiler
compilerOptions
transformAssetUrls
preprocessCustomRequire
}
```
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