Merge pull request #1045 from sveltejs/gh-967

add store.umd.js
pull/1046/head
Rich Harris 7 years ago committed by GitHub
commit 40e04407e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.gitignore vendored

@ -17,3 +17,4 @@ src/generators/dom/shared.ts
package-lock.json
.idea/
*.iml
store.umd.js

@ -8,6 +8,7 @@
"ssr",
"shared.js",
"store.js",
"store.umd.js",
"README.md"
],
"scripts": {
@ -18,7 +19,7 @@
"codecov": "codecov",
"precodecov": "npm run coverage",
"lint": "eslint src test/*.js",
"build": "node src/shared/_build.js && rollup -c",
"build": "node src/shared/_build.js && rollup -c && rollup -c rollup.store.config.js",
"prepare": "npm run build",
"dev": "node src/shared/_build.js && rollup -c -w",
"pretest": "npm run build",

@ -0,0 +1,9 @@
export default {
input: 'store.js',
output: {
file: 'store.umd.js',
format: 'umd',
name: 'svelte',
extend: true
}
};
Loading…
Cancel
Save