Skip to content
Permalink
Browse files

fix(dist): add umd-es2015, adjust unpkg field, umd build to es5

  • Loading branch information...
bigopon committed Feb 20, 2019
1 parent ddc3680 commit 741026cbfeea37c28de9b6c71e9ba3d703de335b
Showing with 16 additions and 3 deletions.
  1. +15 −2 build/build.ts
  2. +1 −1 package.json
@@ -23,7 +23,7 @@ const configs = {
outputs: [
{ file: "dist/es2015/aurelia-store.js", format: "es" },
{
file: "dist/umd/aurelia-store.js",
file: "dist/umd-es2015/aurelia-store.js",
format: "umd",
name: "au.store",
globals: {
@@ -42,7 +42,20 @@ const configs = {
outputs: [
{ file: "dist/commonjs/aurelia-store.js", format: "cjs" },
{ file: "dist/amd/aurelia-store.js", format: "amd", amd: { id: LIB_NAME } },
{ file: "dist/native-modules/aurelia-store.js", format: "es" }
{ file: "dist/native-modules/aurelia-store.js", format: "es" },
{
file: "dist/umd/aurelia-store.js",
format: "umd",
name: "au.store",
globals: {
"aurelia-framework": "au",
"aurelia-dependency-injection": "au",
"aurelia-logging": "au.LogManager",
"aurelia-pal": "au",
"rxjs": "rxjs",
"rxjs/operators": "rxjs"
}
}
]
}
}
@@ -11,7 +11,7 @@
"main": "dist/commonjs/aurelia-store.js",
"module": "dist/es2015/aurelia-store.js",
"browser": "dist/umd/aurelia-store.js",
"unpkg": "dist/umd/aurelia-store.js",
"unpkg": "dist/umd-es2015/aurelia-store.js",
"typings": "dist/aurelia-store.d.ts",
"scripts": {
"lint": "cross-env tslint --project tsconfig.json",

0 comments on commit 741026c

Please sign in to comment.
You can’t perform that action at this time.