* cra boilerplate * Dummy chrome extension * eslint and working url popup * content script and dummy messaging * replace .obj diffs with dummy test * comment and in-order multiple type support * get pull api data from url * README title and desc * api/elements match with filename check * github token signin signout * manifest v3, service request for CORS * working kittycad api in service worker * First real background message * Clean up, better types * Fix settings * multiservice settings * Tweaks * WIP: download file * Working downloads and kittycad conversion * Inject react, add three dependencies * Working stl canvas * primer for github-like style * Loading before model * diff colors * colorMode auto * Popup clean up * clean up * Working loading * Logos * Add GitHub CI * Working test * yarn test in ci * Little tweak * Update README * component tests * Better test * Clean up * UserCard test * working caddiff test * Note * Rename App to Settings * storage test * Clean up * Clean up content script * further content cleanup * Fix test * Little tweaks to modelview * More tests and testing * Regex fix * LFS file download test * prettier config from kittycad/website * Little tweaks * comment * log level * Tweaks * README update * more prettier * comment * Irrelevant comment * No .vscode and readme update * Remove .vscode * Package.json update after vscode removal
29 lines
931 B
JavaScript
29 lines
931 B
JavaScript
module.exports = {
|
|
webpack: {
|
|
configure: (webpackConfig, { env, paths }) => {
|
|
return {
|
|
...webpackConfig,
|
|
entry: {
|
|
main: [
|
|
env === 'development' &&
|
|
require.resolve(
|
|
'react-dev-utils/webpackHotDevClient'
|
|
),
|
|
paths.appIndexJs,
|
|
].filter(Boolean),
|
|
content: './src/chrome/content.ts',
|
|
background: './src/chrome/background.ts',
|
|
},
|
|
output: {
|
|
...webpackConfig.output,
|
|
filename: 'static/js/[name].js',
|
|
},
|
|
optimization: {
|
|
...webpackConfig.optimization,
|
|
runtimeChunk: false,
|
|
},
|
|
}
|
|
},
|
|
},
|
|
}
|