vue-ninja 0.4.0-beta.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rollup.config.ts +0 -19
package/package.json
CHANGED
package/rollup.config.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { RollupOptions } from 'rollup';
|
|
2
|
-
import typescript from '@rollup/plugin-typescript';
|
|
3
|
-
import { terser } from 'rollup-plugin-terser';
|
|
4
|
-
import { preserveShebangs } from "rollup-plugin-preserve-shebangs";
|
|
5
|
-
|
|
6
|
-
const config: RollupOptions = {
|
|
7
|
-
input: 'src/vue-ninja.ts',
|
|
8
|
-
output: {
|
|
9
|
-
file: 'dist/vue-ninja.js',
|
|
10
|
-
format: 'cjs',
|
|
11
|
-
// minify
|
|
12
|
-
plugins: [terser()],
|
|
13
|
-
},
|
|
14
|
-
external: ['command-line-args', 'rimraf', 'axios', 'chalk', 'prompt', 'glob', 'fs', 'crypto', 'child_process', 'util'],
|
|
15
|
-
// we need to keep the shebang to make the file executable
|
|
16
|
-
// we need the typescript plugin
|
|
17
|
-
plugins: [preserveShebangs(), typescript()]
|
|
18
|
-
};
|
|
19
|
-
export default config;
|