1
0
mirror of https://github.com/yldio/copilot.git synced 2025-01-09 10:30:12 +02:00
copilot/ui/docs/webpack/embed-markdown-loader/src/compile/index.js
Sérgio Ramos 557cd5a291 wip rm css
2016-12-12 10:28:47 +00:00

19 lines
335 B
JavaScript

const compile = require('./compile');
const detach = require('./detach');
module.exports = ({
source,
entrypoint,
config
}, fn) => {
return !config.fullpath ? compile({
source,
entrypoint,
config: config.instantiated
}, fn) : detach({
source,
entrypoint,
configFullpath: config.fullpath
}, fn);
};