R
Reactiflux

Hailwood – 07-24 Jun 2

Hailwood – 07-24 Jun 2

HHailwood6/2/2022
Anyone know why using webpack with style-loader, Trying to do
import styles from './stylesheet.css';
import styles from './stylesheet.css';
I get
export 'default' (imported as 'styles') was not found in './stylesheet.css' (module has no exports)
export 'default' (imported as 'styles') was not found in './stylesheet.css' (module has no exports)
Yet import './stylesheet.css'; is fine? I have style-loader setup with
injectType: 'lazyStyleTag',
insert: function insertIntoTarget(element, options) {
const parent = options.target || document.head;
parent.appendChild(element);
},
injectType: 'lazyStyleTag',
insert: function insertIntoTarget(element, options) {
const parent = options.target || document.head;
parent.appendChild(element);
},
UUUnknown User6/2/2022
Message Not Public
Sign In & Join Server To View

Looking for more? Join the community!

R
Reactiflux

Hailwood – 07-24 Jun 2

Join Server