You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The data-v get generated without going through webpack, but as soon as I add a webpack config to craco it the data-v are not generated any more, here is my craco.config.js
constpath=require("path");module.exports={plugins: [{plugin: require('craco-plugin-scoped-css'),}],webpack: {configure: {mode: 'development',entry: "./src/index.tsx",devtool: 'source-map',resolve: {/** * important to look-up for JSON files, because the locales are stored in JSON */extensions: [".js",".jsx","ts","tsx",".json"],},output: {path: path.resolve(__dirname,"public"),filename: "app.js",},module: {/** "rules" * use the ts-loader to transform tsx or ts files before adding it to the bundle. */rules: [{test: /\.(ts|tsx)$/,//kind of file extension this rule should look for and apply in testexclude: /node_modules/,//folder to be excludeduse: "ts-loader",//loader which we are going to use}],},}}}
I need to use this with a TS project and it will not work. When I change to
I get errors. Any solitons?
The text was updated successfully, but these errors were encountered: