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.
20 lines
450 B
20 lines
450 B
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/**/*", |
|
], |
|
}), |
|
], |
|
};
|
|
|