Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
fix(bundle): re-add imports for bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
doktordirk committed Aug 25, 2016
1 parent b3196cd commit 4b6208c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build/paths.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}',
Expand Down
2 changes: 1 addition & 1 deletion src/aurelia-authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b6208c

Please sign in to comment.