Skip to content

Commit

Permalink
Remove codecov from webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielv123 committed Jun 10, 2024
1 parent 97b0862 commit b548106
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"repository": "Danielv123/gridworld",
"scripts": {
"prepare": "webpack-cli --env production && husky install",
"cloc": "cloc --exclude-dir=node_modules,dist .",
"lint": "eslint \"*.js\" src web --fix",
"luacheck": "luacheck module/",
"test": "spaces-to-tabs -s 4 module/**.lua module/**/**.lua module/**/**/**.lua module/**/**/**/**.lua module/**/**/**/**/**.lua && npm run lint && npm run luacheck"
Expand Down Expand Up @@ -41,7 +42,6 @@
},
"devDependencies": {
"@clusterio/web_ui": "^2.0.0-alpha.0",
"@codecov/webpack-plugin": "0.0.1-beta.6",
"@react-leaflet/core": "^2.1.0",
"@swc/core": "^1.4.0",
"antd": "^5.13.0",
Expand Down
6 changes: 0 additions & 6 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
const path = require("path");
const webpack = require("webpack");
const { merge } = require("webpack-merge");
const { codecovWebpackPlugin } = require("@codecov/webpack-plugin");

const common = require("@clusterio/web_ui/webpack.common");

Expand Down Expand Up @@ -32,10 +31,5 @@ module.exports = (env = {}) => merge(common(env), {
"react-router-dom": { import: false },
},
}),
codecovWebpackPlugin({
enableBundleAnalysis: process.env.CODECOV_TOKEN !== undefined,
bundleName: "plugin_gridworld",
uploadToken: process.env.CODECOV_TOKEN,
}),
],
});

0 comments on commit b548106

Please sign in to comment.