Static GitHub Issues

[1230] Can't seem to add Loaders

prev: Get Store in Vue filter rc3
next: Can't load svg file in nuxt version 1.0.0-rc3

I used to be able to override loaders in nuxt.config.js With the build.loaders key. Doesn't Work in rc-3, anything we should know ?

loaders: [{
                test: /\.(png|jpe?g|gif|svg)$/,
                loader: 'file-loader',
                query: {
                    limit: 10000, // 10KO
                    name: 'img/[name].[hash].[ext]'
                }
            },
            {
                test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
                loader: 'url-loader',
                query: {
                    limit: 1000, // 1 KO
                    name: 'fonts/[name].[hash:7].[ext]'
                }
            }
        ]
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1087">#c1087</a>)</em></sub></div>