mirror of
https://github.com/status-im/sourcecred.git
synced 2025-02-24 02:08:09 +00:00
Remove build2 / start2 references (#1882)
Now that we're making the new UI the canonical one, we can remove references to calling it `build2` or `start2`. Test plan: `yarn start --instance $PATH` and `yarn build` both work. `yarn test --full` passes.
This commit is contained in:
parent
84c9122a2a
commit
e744b2bd4a
@ -12,9 +12,9 @@ module.exports = {
|
||||
root: appDirectory,
|
||||
dotenv: resolveApp(".env"),
|
||||
favicon: resolveApp("src/assets/logo/rasterized/logo_32.png"),
|
||||
appBuild2: resolveApp("build2"),
|
||||
appIndexJs2: resolveApp("src/ui/index.js"),
|
||||
appServerSideRenderingIndexJs2: resolveApp("src/ui/server.js"),
|
||||
appBuild: resolveApp("build"),
|
||||
appIndexJs: resolveApp("src/ui/index.js"),
|
||||
appServerSideRenderingIndexJs: resolveApp("src/ui/server.js"),
|
||||
appPackageJson: resolveApp("package.json"),
|
||||
appSrc: resolveApp("src"),
|
||||
yarnLockFile: resolveApp("yarn.lock"),
|
||||
|
@ -31,10 +31,10 @@ async function makeConfig(
|
||||
devtool: shouldUseSourceMap ? "source-map" : false,
|
||||
// In production, we only want to load the polyfills and the app code.
|
||||
entry: {
|
||||
main: [require.resolve("./polyfills"), paths.appIndexJs2],
|
||||
main: [require.resolve("./polyfills"), paths.appIndexJs],
|
||||
ssr: [
|
||||
require.resolve("./polyfills"),
|
||||
paths.appServerSideRenderingIndexJs2,
|
||||
paths.appServerSideRenderingIndexJs,
|
||||
],
|
||||
},
|
||||
devServer: {
|
||||
@ -93,7 +93,7 @@ async function makeConfig(
|
||||
},
|
||||
output: {
|
||||
// The build folder.
|
||||
path: paths.appBuild2,
|
||||
path: paths.appBuild,
|
||||
// Generated JS file names (with nested folders).
|
||||
// There will be one main bundle, and one file per asynchronous chunk.
|
||||
// We don't currently advertise code splitting but Webpack supports it.
|
@ -92,9 +92,7 @@
|
||||
"prettify": "prettier --write '**/*.js'",
|
||||
"check-pretty": "prettier --list-different '**/*.js'",
|
||||
"start": "NODE_ENV=development webpack-dev-server --config config/webpack.config.web.js",
|
||||
"start2": "NODE_ENV=development webpack-dev-server --config config/webpack.config.web2.js",
|
||||
"build": "NODE_ENV=production webpack --config config/webpack.config.web.js",
|
||||
"build2": "NODE_ENV=production webpack --config config/webpack.config.web2.js",
|
||||
"backend": "NODE_ENV=development webpack --config config/webpack.config.backend.js",
|
||||
"api": "webpack --config config/webpack.config.api.js",
|
||||
"test": "node ./config/test.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user