Skip to content

Commit

Permalink
Make experimental build pipeline more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
maxatdetroit committed Jan 9, 2025
1 parent b266482 commit 9d01e05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/experimental/assets/js/main.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"scripts": {
"check-lint-config": "npx eslint-config-prettier src/index.js",
"lint": "eslint src && prettier --check src/*",
"build:experimental": "webpack --mode production",
"build": "yarn build:experimental",
"build:experimental": "webpack --mode production --config webpack.config.experimental.js",
"build-package": "cross-env BABEL_ENV=production babel src -d dist",
"start": "webpack-dev-server --mode development",
"storybook": "storybook dev -p 6006",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js → webpack.config.experimental.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = function (_env, argv) {

return {
devtool: isDevelopment && 'cheap-module-source-map',
entry: './src/index-experimental.js',
entry: './src/experimental/index-experimental.js',
output: {
path: path.resolve(__dirname, 'build/experimental'),
filename: 'assets/js/[name].js',
Expand Down

0 comments on commit 9d01e05

Please sign in to comment.