Adel Khamatov

Results 6 comments of Adel Khamatov

I am getting same issue. webpack.config.js ``` ... module: { rules: [ { test: /\.(js|jsx)$/, use: 'babel-loader', exclude: /node_modules/ }, { test: /\.(ts|tsx)$/, use: 'ts-loader', exclude: /node_modules/ }, } }...

@nyngwang Thank you for the hypothetical explanation! Actually, I don't remember how fixed it, maybe changing tsconfig from ``` "target": "ES2020", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015',...

Workaround: `calc(${theme.spacing(2)} - 1px)`

> I get the same error - but I only get it when it seems to be ran on a built Storybook? I have the same problem, found a cause,...

I had similar problem. In my case the following changes helped. My `webpackFinal` config was (_config.module.rules field_): ``` { test: /\.(sa|sc)ss$/, exclude: [/node_modules/], use: [ { loader: MiniCssExtractPlugin.loader, }, {...

I tried to implement a similar solution in your library: https://github.com/Cloudo/cy-auto-stub/blob/master/src/commands.js But my attempt was unsuccessful. Perhaps this example will inspire you. Thank you for this tool!