mirror of
https://github.com/aleleba/create-react-ssr.git
synced 2025-06-20 04:48:30 -06:00
PR-589725: Updating packages, fixing redux actions and fixing linting.
This commit is contained in:
@ -23,6 +23,12 @@ if(fs.existsSync(copyFromUrl)){
|
||||
});
|
||||
}
|
||||
|
||||
if(fs.existsSync(`${path.resolve(__dirname)}/public/fonts`)){
|
||||
copyPatterns.push({
|
||||
from: `${path.resolve(__dirname)}/public/fonts`, to: 'assets/fonts',
|
||||
});
|
||||
}
|
||||
|
||||
export default {
|
||||
entry: './src/frontend/components/index.tsx',
|
||||
resolve: {
|
||||
@ -71,7 +77,16 @@ export default {
|
||||
'options': {
|
||||
modules: {
|
||||
auto: /\.module\.\w+$/i,
|
||||
}
|
||||
},
|
||||
url: {
|
||||
filter: (url) => {
|
||||
// No procesar URLs absolutas que comienzan con /
|
||||
if (url.startsWith('/')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
'sass-loader',
|
||||
|
Reference in New Issue
Block a user