diff --git a/webpack.mix.js b/webpack.mix.js index 6ce458a..9922102 100644 --- a/webpack.mix.js +++ b/webpack.mix.js @@ -17,18 +17,12 @@ const cssNesting = require('postcss-nesting') mix .js('resources/js/app.js', 'public/js') .vue({ runtimeOnly: true }) + .alias({ '@': 'resources/js' }) .postCss('resources/css/app.css', 'public/css', [ // prettier-ignore cssImport(), cssNesting(), require('tailwindcss'), ]) - .webpackConfig({ - resolve: { - alias: { - '@': path.resolve('resources/js'), - }, - }, - }) .version() .sourceMaps()