DoomDuck / transcendence

0 stars 0 forks source link

CSS links in ressource require the use of ../../public #49

Closed emmaafrn closed 2 years ago

DoomDuck commented 2 years ago

Found this example to inspire myself

{
    test:/\.(svg|jpg|png|gif)$/,
    use: [{
        loader:'file-loader',
        options: {
            publicPath: path.resolve(__dirname, '/assets/img'),
            outputPath: 'assets/img',
            name: '[name].[ext]',
            esModule: false
        }
    }],
},
DoomDuck commented 2 years ago

Done !