Closed allthesignals closed 4 years ago
thanks for working on this @allthesignals. High level comments from me:
dist
directory rather than the example
directory
- mapbox-gl-draw and many other libraries have switched to using rollup (instead of browserify), do you think rollup would be better?
- if we're now building a dist js file, we should output that to the
dist
directory rather than theexample
directory
Agree! I trust whatever is standard among other plugins.
I'll be happy to make those changes. Would you like to see me make those changes in this PR or a follow-up PR?
@andrewharvey I went ahead and switched over to rollup. It now builds into the dist folder. There are some other clean-up tasks:
start
script so it uses the same stack as mapbox-gl-drawHi @tristen @andrewharvey can i get some feedback on this?
I have no objections with these changes, though admittedly I don't have much experience with js build systems. I'll see if @tristen has an opinion first, if not then I can approve and merge.
Apologies for my tardiness. No objections from me either 👍
I ran into some snags trying to get a testing environment setup in a way that mimics other mapbox plugins (mapbox-gl-draw).
This change does a few things:
Instead of a workaround, this PR addresses the original issue reported in #17.