Skip to content

Commit

Permalink
Output basic information from Webpack to compare plugin compilation
Browse files Browse the repository at this point in the history
times
  • Loading branch information
Havunen committed Sep 9, 2023
1 parent f1e733b commit 7846206
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fixtures/browser/karma.babel.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ module.exports = function (config) {
devServer: {
noInfo: true
},
stats: 'errors-only',
stats: 'normal',
performance: {
hints: false
}
Expand Down
3 changes: 1 addition & 2 deletions fixtures/browser/karma.swc.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path');
const gzipPreprocessor = require('./gzip/gzippreprocessor');
const transformInferno = require('ts-plugin-inferno').default;
const resolve = (pkg) => path.join(__dirname, '../../packages', pkg, 'dist', 'index.dev.esm.js');
const useInfernoCompatPkg = process.env.InfernoCompat === '1';

Expand Down Expand Up @@ -137,7 +136,7 @@ module.exports = function (config) {
extensions: ['.js', '.jsx', '.tsx', '.ts'],
mainFields: ['browser', 'main']
},
stats: 'errors-only',
stats: 'normal',
performance: {
hints: false
}
Expand Down
2 changes: 1 addition & 1 deletion fixtures/browser/karma.ts.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ module.exports = function (config) {
devServer: {
noInfo: true
},
stats: 'errors-only',
stats: 'normal',
performance: {
hints: false
}
Expand Down
85 changes: 85 additions & 0 deletions fixtures/browser/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions fixtures/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"@babel/core": "7.22.17",
"@babel/preset-env": "7.22.15",
"babel-loader": "^9.1.3",
"build-time-reporter-webpack-plugin": "^1.4.3",
"jasmine-core": "^5.1.1",
"karma": "^6.4.2",
"karma-chrome-launcher": "^3.2.0",
Expand All @@ -34,6 +35,7 @@
"karma-jasmine": "^5.1.0",
"karma-sauce-launcher": "^4.3.6",
"karma-webpack": "5.0.0",
"output-compile-time-webpack-plugin": "^1.0.5",
"saucelabs": "^7.3.1",
"ts-loader": "^9.4.4",
"webpack": "^5.88.2"
Expand Down

0 comments on commit 7846206

Please sign in to comment.