Skip to content
Permalink
Browse files

fix(build): adjust build script, add umd es2015, fix unpkg field

  • Loading branch information...
bigopon committed Feb 20, 2019
1 parent 1322732 commit b62089fb8fe52d5eaa13c001c07420c6066e9c00
Showing with 14 additions and 2 deletions.
  1. +1 −1 package.json
  2. +13 −1 rollup.config.js
@@ -17,7 +17,7 @@
"main": "dist/commonjs/aurelia-fetch-client.js",
"module": "dist/es2015/aurelia-fetch-client.js",
"browser": "dist/umd/aurelia-fetch-client.js",
"unpkg": "dist/umd/aurelia-fetch-client.js",
"unpkg": "dist/umd-es2015/aurelia-fetch-client.js",
"typings": "dist/aurelia-fetch-client.d.ts",
"repository": {
"type": "git",
@@ -9,7 +9,7 @@ export default [
format: 'esm'
},
{
file: 'dist/umd/aurelia-fetch-client.js',
file: 'dist/umd-es2015/aurelia-fetch-client.js',
format: 'umd',
name: 'au.fetchClient',
globals: {
@@ -57,6 +57,18 @@ export default [
{ file: 'dist/commonjs/aurelia-fetch-client.js', format: 'cjs' },
{ file: 'dist/system/aurelia-fetch-client.js', format: 'system' },
{ file: 'dist/native-modules/aurelia-fetch-client.js', format: 'esm' },
{
file: 'dist/umd/aurelia-fetch-client.js',
format: 'umd',
name: 'au.fetchClient',
globals: {
'aurelia-binding': 'au',
'aurelia-dependency-injection': 'au',
'aurelia-pal': 'au',
'aurelia-templating': 'au',
'aurelia-templating-resources': 'au',
}
},
],
plugins: [
typescript({

0 comments on commit b62089f

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