avocado-old/packages/net/s13n/s13n.avopack.js
2019-11-22 02:13:32 -06:00

21 lines
488 B
JavaScript

const path = require('path');
module.exports = ({entries, paths, root, rules}) => {
rules.push({
test: new RegExp('@avocado/packages/net/s13n/s13n.avopack.js$'),
use: {
loader: '@avocado/core/webpack/autoreg',
options: {
paths,
registrar: {
function: 'registerSynchronized',
module: '@avocado/net',
},
root,
type: 'synchronized',
},
},
});
entries.push('@avocado/net/s13n/s13n.avopack');
};