Closed m-mujica closed 6 years ago
There is something weird going on with this build, the npm name should be used in dist/bundles
and for some reason it isn't... I think static/build
might be using a different package.json.
hmm so @matthewp not sure why i didn't notice before but if main
is provided like:
stealTools.build({ main: "index" }, {})
The bundles are written out to dist/bundles/*
but if I run it like:
stealTools.build({ config: path.join(__dirname, "package.json!npm") }, {});
or
stealTools.build({}, {})
the bundles are written out to dist/bundles/{appName}/*
.
Since the name
I used in the auto-generated package.json is really not significant, I would actually prefer to avoid using it in the build output.
:shipit: :trollface:
This is a commit on top of #288
I proposed some changes to remove the custom build setup and since I had the changes locally I just decided to push them https://github.com/bitovi/documentjs/pull/288#issuecomment-399534774
My changes https://github.com/bitovi/documentjs/pull/290/commits/fda0f8a3cc0f4c9fa56cf7460908121c94b4199a