removing inline of webpack loader to css and excluding css from ava test
This commit is contained in:
parent
7920b80426
commit
8bbb78132a
@ -6,9 +6,7 @@ const Button = require('@ui/components/button');
|
||||
|
||||
// TOOD: Require from UI Components - causes issue ATM.
|
||||
const Select = require('react-select');
|
||||
// require('react-select/dist/react-select.css');
|
||||
|
||||
require('!style-loader!css-loader!react-select/dist/react-select.css');
|
||||
require('react-select/dist/react-select.css');
|
||||
|
||||
const Invite = React.createClass({
|
||||
|
||||
|
@ -9,6 +9,7 @@ hook.hook('.woff', () => '');
|
||||
hook.hook('.woff2', () => '');
|
||||
hook.hook('.ttf', () => '');
|
||||
hook.hook('.svg', () => '');
|
||||
hook.hook('.css', () => '');
|
||||
|
||||
register({
|
||||
extensions: ['.js']
|
||||
@ -35,4 +36,4 @@ requireHacker.global_hook('inline-svgs', (path) => {
|
||||
if(path.match(/!babel-loader!svg-react-loader/)) {
|
||||
return `module.exports = ${fakeComponentString}`;
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue
Block a user