mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
21 lines
429 B
JavaScript
21 lines
429 B
JavaScript
/* eslint-disable */
|
|
/** @typedef {import('./types').SpaOptions} SpaOptions */
|
|
|
|
const merge = require('deepmerge');
|
|
const { createSpaConfig } = require('@open-wc/building-rollup');
|
|
|
|
/**
|
|
* @param {SpaOptions} options
|
|
*/
|
|
function createMpaConfig(options) {
|
|
const userOptions = merge(
|
|
{
|
|
html: { flatten: false },
|
|
},
|
|
options,
|
|
);
|
|
return createSpaConfig(userOptions);
|
|
}
|
|
|
|
module.exports = { createMpaConfig };
|