Closed 32graham closed 7 years ago
When I include aurelia-polymer in the bundle using Aurlia CLI, like so
aurelia-polymer
{ ... "build": { ... "bundles": [ { "name": "app-bundle.js", "source": [ "[**/*.js]", "**/*.{css,html}" ] }, { "name": "vendor-bundle.js", "prepend": [ "node_modules/bluebird/js/browser/bluebird.core.js", "scripts/require.js" ], "dependencies": [ ... { "name": "aurelia-polymer", "path": "../node_modules/aurelia-polymer/dist/amd", "main": "index" }, ... ] } } } }
And then I run the app, I get a network request to retrieve au-select-custom-attribute.js because it's not included in the bundle.
au-select-custom-attribute.js
I was able to get it working my importing AuSelectCustomAttribute in index.js.
AuSelectCustomAttribute
index.js
import { AuSelectCustomAttribute } from './au-select-custom-attribute';
I'll submit a PR with the proposed change.
When I include
aurelia-polymer
in the bundle using Aurlia CLI, like soAnd then I run the app, I get a network request to retrieve
au-select-custom-attribute.js
because it's not included in the bundle.I was able to get it working my importing
AuSelectCustomAttribute
inindex.js
.I'll submit a PR with the proposed change.