web-toolkit icon indicating copy to clipboard operation
web-toolkit copied to clipboard

Simplify our built assets

Open davidknezic opened this issue 8 years ago • 1 comments

If you download our pre-compiled assets package from...

https://design.axa.com/toolkit/getting-started/downloads/#css-and-js

... you're going to be very confused.

screen shot 2016-12-01 at 09 58 56

all.css
all.css.map
all.js
all.js.map
docs.css
docs.css.map
docs.js
docs.js.map
icons.svg
jquery.js
jquery.js.map
react.js
react.js.map

First of all, we should not provide the docs.js and docs.css files.

Next, all, jquery and react are pretty bad names for our bundles.

icons.svg is good.

davidknezic avatar Dec 01 '16 09:12 davidknezic

We should probably get rid of the react stuff anyway, now that @carlosdelsol has started making a React based toolkit. Then we don't need an all build anymore. So we can rename the jquery build to something better, like toolkit or axa-web-toolkit.

With that, the dist archive would only contain these files:

axa-web-toolkit.css
axa-web-toolkit.css.map
axa-web-toolkit.js
axa-web-toolkit.js.map
axa-icons.svg

davidknezic avatar Dec 01 '16 09:12 davidknezic