laravel-mix-react-typescript-extension
laravel-mix-react-typescript-extension copied to clipboard
tsconfig.json problem
Hello, i'm trying to use the option "experimental decorators" to be able to use Mobx, for this I created the file tsconfig.json in the root of the Laravel project, but it gives me an error when compiling indicating that the option "experimentalDecorators" is not enabled, which indicates that when running Laravel Mix it is not taking into account the file tsconfig.json.
This is the code in webpack.mix.js
const mix = require('laravel-mix');
require("laravel-mix-react-typescript-extension")
mix.reactTypeScript('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css');
Thanks for this plugin