marko/jquery.marko
Michael Rawlings 101c5c6bb8
refactor to better separate compiler/taglib/core-tags/runtime (#1319)
* refactor out taglib loader/finder/lookup

* add comments for taglib apis that we need to deprecate

* move components into runtime/core-tags
2019-04-16 13:34:26 -07:00

12 lines
597 B
Plaintext

<module-code(function(require) {
require("complain")("marko/jquery is deprecated.");
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/runtime/components/jquery");\n`;
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the
// "src" or the "dist" folder based on whether or not we are doing a
// debug or non-debug build. We are using Marko since we know the Marko compiler
// is enabled already (no extra babel transform required).