Permalink
Browse files

fix(bundle): re-add imports for bundling

  • Loading branch information...
doktordirk committed Aug 25, 2016
1 parent b3196cd commit 4b6208c5810e60991787e571045a9d5dd38c9941
Showing with 6 additions and 2 deletions.
  1. +5 −1 build/paths.js
  2. +1 −1 src/aurelia-authentication.js
@@ -20,7 +20,11 @@ var paths = {
packageName: pkg.name,
ignore: [],
useTypeScriptForDTS: false,
importsToAdd: [], // eg. non-concated local imports in the main file as they will get removed during the build process
importsToAdd: [
'import {AuthFilterValueConverter} from "./authFilterValueConverter"',
'import {AuthenticatedValueConverter} from "./authenticatedValueConverter"',
'import {AuthenticatedFilterValueConverter} from "./authenticatedFilterValueConverter"'
], // eg. non-concated local imports in the main file as they will get removed during the build process
importsToIgnoreForDts: ['extend', 'jwt-decode'], // imports that are only used internally. no need to d.ts export them
jsResources: [appRoot + '*ValueConverter.js'], // js to transpile, but not be concated and keeping their relative path
resources: appRoot + '{**/*.css,**/*.html}',
@@ -5,7 +5,7 @@ import {BaseConfig} from './baseConfig';
import {FetchConfig} from './fetchClientConfig';
import * as LogManager from 'aurelia-logging';
// added for easy jspm bundling
// added for bundling
import {AuthFilterValueConverter} from './authFilterValueConverter'; // eslint-disable-line no-unused-vars
import {AuthenticatedFilterValueConverter} from './authenticatedFilterValueConverter'; // eslint-disable-line no-unused-vars
import {AuthenticatedValueConverter} from './authenticatedValueConverter'; // eslint-disable-line no-unused-vars

0 comments on commit 4b6208c

Please sign in to comment.