Hi everybody,
I would like to know if it's possible to use Commonjs in the front end? Here's an example:
var hello = require('hello'); module.exports = hello() + 'world';
I'm not a big fan or AMD and the JavaScript use API provided.
Commonjs in the front end usually requires a build step and I was also wondering if AEM is flexible enough to allow custom/external builds for JS and CSS (no css.txt or js.txt).
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Out of the box does not provide & not seen personally any implementation so far. Technically it will work & you might face some challenges specifically with css since is no cross-browser onload event for CSS.
Views
Replies
Total Likes
Out of the box does not provide & not seen personally any implementation so far. Technically it will work & you might face some challenges specifically with css since is no cross-browser onload event for CSS.
Views
Replies
Total Likes