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
, and I check the source code and find there is no default exported in this lab.
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
constInlineChunkHtmlPlugin=require('react-dev-utils/InlineChunkHtmlPlugin');constHtmlWebpackPlugin=require('html-webpack-plugin')constHtmlInlineScriptPlugin=require('html-inline-script-webpack-plugin');constpath=require('path')constwebpack=require('webpack')module.exports=(env,argv)=>({mode: 'development',entry: {ui: './src/ui/ui.tsx',code: './src/main/main.ts'},module: {rules: [{test: /\.tsx$/,exclude: /(node_modules|bower_components)/,use: 'babel-loader'},],},// Webpack tries these extensions for you if you omit the extension like "import './file'"resolve: {extensions: ['.tsx','.ts','.jsx','.js']},output: {filename: '[name].js',path: path.resolve(__dirname,'dist'),// Compile into a folder called "dist"},// Tells Webpack to generate "ui.html" and to inline "ui.ts" into itplugins: [newwebpack.DefinePlugin({'global': {}}),newHtmlWebpackPlugin({template: './src/ui/ui.html',filename: 'ui.html',inject: 'body',chunks: ['ui'],}),newHtmlInlineScriptPlugin(),newInlineChunkHtmlPlugin(HtmlWebpackPlugin,[/ui/]),],})
What is the expected behavior?
Environment (include versions)
Version of styled-jsx (or next.js if it's being used): v5.0.0
Browser: chromium
OS: Linux
Did this work in previous versions?
I tried v4, with no luck.
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
A bug.
What is the current behavior?
When I used this lib without next, just together with webpack and babel, my code was transformed into
, and I check the source code and find there is no default exported in this lab.
If the current behavior is a bug, please provide the steps to reproduce and possibly a minimal demo or testcase in the form of a Next.js app, CodeSandbox URL or similar
What is the expected behavior?
Environment (include versions)
Did this work in previous versions?
I tried v4, with no luck.
The text was updated successfully, but these errors were encountered: