Closed green3g closed 8 years ago
Can you share what the package is that depends on date-selector? Otherwise I can't easily debug what is going on.
Yes sir, I don't have it on npm yet but here's the repo. https://github.com/roemhildtg/can-crud
Thanks, i'm actually getting an error just building, just requiring can-crud. Investigating that first.
Interesting, I'm not having trouble building any more.. what is the error message? I have it set up like this in package.json:
"dependencies": {
"bootstrap": "^3.3.7",
"can": "^2.3.x",
"can-connect": "^0.5.x",
"can-crud": "git+https://github.com/roemhildtg/can-crud.git"
......
So we can close this?
Well I'm not getting build errors, the problem is still occurring.
can you provide a simple app (accessible through github) that demostrate this issue, so we can solve it?
Okay, I tried creating a simple example, but I'm unable reproduce the issue. The original problem consistently occurs in https://github.com/roemhildtg/can-crud-app but it must be something I'm doing, not an issue with steal.
I'm encountering an issue when moving to steal.production. Running on windows, with
steal@beta
andsteal-tools@beta
I have a node dependency package, which has another dependency on
date-selector
. The file is being imported using the es6 syntax:During development, this file is imported correctly (
crud/node_modules/date-selectorand when it is built, the log shows that it is inserted into a bundle correctly along with its dependencies on
underscoreand
moment`.During production though, steal is requesting
date-selector
from `This is also happening with the following other files:
can-set.js
- a sub dependency imports this like:import set from 'can-set';
when/es6-shim/Promise.js
- Imported by can-connect I thinkdate-selector/less/datepicker.less
- imported likeimport 'date-selector/less/datepicker.less!';
This is using the default node_modules/steal/steal.production.js without bundling assets: