1234567891011121314151617181920212223242526 |
- const path = require("path")
- module.exports = function(config) {
- config.set({
-
- basePath: path.resolve(__dirname, './component'),
- files: [
- 'node_modules/miniprogram-simulate/build.js',
- 'test/spec/*.spec.js',
- 'component/*',
- ],
- preprocessors: {
- 'component/*': ['filemap'],
- 'test/spec/*.spec.js': ['webpack', 'dirname'],
- },
- webpack: {
- optimization: {
- minimize: false,
- },
- node: {
- __dirname: false,
- },
- },
-
- })
- }
|