Incorporating gulp to compile js in apostrophe? -


has rolled gulp apostrophe compiling assets? i'd use es6, i'm using frontend framework has of js nicely split separate assets, , have compilation of 1 minified file part of normal apostrophe build process (i'm using apostrophe-assets reference single root js file imports else).

great question. you're going want build javascript gulp 1 file before pushing file browser using apostrophe's asset pipeline.

for example might have /src directory @ root of project has javascript files. can pipe these files apostrophe-assets directory or other named directory subclass of apostrophe-module in /lib/modules/.

you can push compiled file browser usual: http://apostrophecms.org/docs/tutorials/getting-started/pushing-assets.html#configuring-java-script-for-the-browser


Comments