-
Notifications
You must be signed in to change notification settings - Fork 429
Home
Nathan Walker edited this page Feb 23, 2016
·
9 revisions
How to add to different seed projects:
In tools/config.ts
, add dragula
to the following:
// ----------------
// SystemsJS Configuration.
const SYSTEM_CONFIG_DEV = {
defaultJSExtensions: true,
paths: {
[BOOTSTRAP_MODULE]: `${APP_BASE}${BOOTSTRAP_MODULE}`,
'angular2/*': `${APP_BASE}angular2/*`,
'rxjs/*': `${APP_BASE}rxjs/*`,
'dragula': `${APP_BASE}node_modules/dragula/dist/dragula.min`,
'*': `${APP_BASE}node_modules/*`
},
packages: {
angular2: { defaultExtension: false },
rxjs: { defaultExtension: false }
}
};
export const SYSTEM_BUILDER_CONFIG = {
defaultJSExtensions: true,
paths: {
[`${TMP_DIR}/*`]: `${TMP_DIR}/*`,
'dragula': `node_modules/dragula/dist/dragula.min.js`,
'*': 'node_modules/*'
}
};