Commit ccdbd172 authored by rockyl's avatar rockyl

修复

parent f4df8017
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
"typescript": "^3.7.3" "typescript": "^3.7.3"
}, },
"scripts": { "scripts": {
"dev": "rollup -c -m -w",
"declare": "node scripts/declare.js src/svga/index.ts", "declare": "node scripts/declare.js src/svga/index.ts",
"rollup": "rollup -c -o dist/svga.js", "rollup": "rollup -c -o dist/svga.js",
"rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production", "rollup:prod": "rollup -c -o dist/svga.js --environment BUILD:production",
......
...@@ -9,7 +9,7 @@ const typescript = require('rollup-plugin-typescript'); ...@@ -9,7 +9,7 @@ const typescript = require('rollup-plugin-typescript');
const {uglify} = require('rollup-plugin-uglify'); const {uglify} = require('rollup-plugin-uglify');
const options = { const options = {
input: 'src/index.ts', input: 'src/svga/index.ts',
output: [ output: [
{ {
file: `debug/engine-svga.js`, file: `debug/engine-svga.js`,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment