chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
module.exports = () => {
|
||||
if (global.NX_GRAPH_CREATION === undefined) {
|
||||
const { createConfig } = require('@nx/angular-rspack');
|
||||
const config = createConfig(
|
||||
{
|
||||
options: {
|
||||
root: __dirname,
|
||||
browser: './src/main.ts',
|
||||
index: './src/index.html',
|
||||
server: './src/main.server.ts',
|
||||
polyfills: ['zone.js'],
|
||||
ssr: { entry: './src/server.ts' },
|
||||
appShell: true,
|
||||
assets: [
|
||||
{
|
||||
glob: '**/*',
|
||||
input: './public',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
development: {
|
||||
options: {
|
||||
optimization: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
);
|
||||
return config;
|
||||
}
|
||||
return {};
|
||||
};
|
||||
Reference in New Issue
Block a user