mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
7 lines
247 B
JavaScript
7 lines
247 B
JavaScript
if (process.env.BUNDLE) {
|
|
// you cannot load templates dynamically within a bundle
|
|
// all templates should be pre-compiled as part of the bundle
|
|
module.exports = function(){};
|
|
} else {
|
|
module.exports = require('./index-default');
|
|
} |