diff --git a/docs/webpack.md b/docs/webpack.md index b34c55814..89aec10e9 100644 --- a/docs/webpack.md +++ b/docs/webpack.md @@ -151,16 +151,13 @@ environment.loaders.insert('svg', { ```js // config/webpack/loaders/url.js -const { assetHost } = require('@rails/webpacker') - module.exports = { test: [/\.bmp$/, /\.gif$/, /\.jpe?g$/, /\.png$/], use: [{ loader: 'url-loader', options: { limit: 10000, - name: '[name]-[hash].[ext]', - publicPath: assetHost.publicPathWithHost + name: '[name]-[hash].[ext]' } }] }