aurelia-ui-toolkits / plugin-builder

Aurelia application designed to assist the process of building Aurelia plugins
1 stars 1 forks source link

chore(build): add sourcemaps #5

Open Thanood opened 8 years ago

Thanood commented 8 years ago

Adds sourcemaps to build-system task. :smile: Inspired by Vegar who was missing sourcemaps in his v-grid repo.

JeroenVinke commented 8 years ago

one issue I see with this is that it makes the files in the dist folder larger, so the payload plugin users need to download is larger. Can we make it so the sourcemap is only generated for the devbuild folder (the development equivalent of dist)?

Thanood commented 8 years ago

Sure, that's the way it is done in skeleton-bridge and materialize-bridge (probably kendo, too). gulp serve would also need to serve from there, right?

Edit: That's actually wrong, it's done in a seperate dev task in skeleton-bridge.

Thanood commented 8 years ago

Changed the sourcemap generation to only occur if not gulping build-release. Also updated jspm dependencies of the sample to use ^ modifier (what's that called btw.?)..