ejected / added css and scss modules / added jest and enzyme

This commit is contained in:
Senad Uka
2018-04-09 15:18:14 +02:00
parent 8607a83f44
commit 0628e9bddc
17 changed files with 2065 additions and 341 deletions

View File

@@ -0,0 +1,12 @@
'use strict';
const path = require('path');
// This is a custom Jest transformer turning file imports into filenames.
// http://facebook.github.io/jest/docs/en/webpack.html
module.exports = {
process(src, filename) {
return `module.exports = ${JSON.stringify(path.basename(filename))};`;
},
};