You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
450 B
21 lines
450 B
1 month ago
|
import { fromRollup } from "@web/dev-server-rollup";
|
||
|
import rollupCommonjs from "@rollup/plugin-commonjs";
|
||
|
|
||
|
const commonjs = fromRollup(rollupCommonjs);
|
||
|
|
||
|
export default {
|
||
|
nodeResolve: true,
|
||
|
files: [
|
||
|
"test/*.js",
|
||
|
"!test/virtual-machines.js"
|
||
|
],
|
||
|
plugins: [
|
||
|
commonjs({
|
||
|
include: [
|
||
|
// the commonjs plugin is slow, list the required packages explicitly:
|
||
|
"**/node_modules/type-detect/**/*",
|
||
|
],
|
||
|
}),
|
||
|
],
|
||
|
};
|