mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-20 04:48:30 -06:00
PR-049111: making mayor change for add support to prefix url.
This commit is contained in:
@ -21,10 +21,10 @@ const config: Configuration = {
|
||||
resolve: {
|
||||
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
|
||||
alias: {
|
||||
'@app': path.resolve(__dirname, 'src/frontend/components/App'),
|
||||
'@components': path.resolve(__dirname, 'src/frontend/components/'),
|
||||
'@styles': path.resolve(__dirname, 'src/frontend/styles/'),
|
||||
}
|
||||
'@config': path.resolve(__dirname, 'config/'),
|
||||
},
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
@ -58,7 +58,7 @@ const config: Configuration = {
|
||||
test: fontsAndImagesExtensions,
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '/assets/[name].[ext]',
|
||||
name: 'assets/[name].[ext]',
|
||||
emitFile: false,
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user