mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
Code comments
This commit is contained in:
parent
3ef3f73272
commit
40960871af
@ -2,3 +2,9 @@ module-code(function(require) {
|
||||
var isDebug = require('./env').isDebug;
|
||||
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/compiler");\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).
|
||||
|
||||
@ -2,3 +2,9 @@ module-code(function(require) {
|
||||
var isDebug = require('./env').isDebug;
|
||||
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components");\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).
|
||||
|
||||
@ -2,3 +2,9 @@ module-code(function(require) {
|
||||
var isDebug = require('./env').isDebug;
|
||||
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/index");\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).
|
||||
|
||||
@ -2,3 +2,9 @@ module-code(function(require) {
|
||||
var isDebug = require('./env').isDebug;
|
||||
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components/legacy");\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).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user