Closed shadowtime2000 closed 3 years ago
Hello, @shadowtime2000,
thanks for your will to contribute. It would be nice to explain what is the goal of your PR, i.e. what problems are you trying to solve. In particular:
removing the dist/
folder breaks several parts of the app, namely the dist example, the interactive manual and the test runner.
there already is a minification step present (google closure compiler)
your rollup adjustment means that it is no longer possible to bundle without running the minification step
I am not an npm expert, but I guess that the prepublishOnly
script is used to generate the dist/
folder prior to publishing. All build-related steps are driven via the Makefile, so this script shall definitely call make (...)
instead of rollup (...)
. I have no idea what the build
npm script is good for.
Actions done:
dist
to.gitignore
build
script and aprepublishOnly
scriptdist
from source controlbrowser
field along with other fields for CDNs.