Commit 1877ca37 authored by Yannis Barlas's avatar Yannis Barlas

fix: webpack fix for apollo upload client

parent 63dce36f
const path = require('path')
const components = require('./components')
// const bookBuilder = require('./modules/book-builder')
const bookBuilder = require('./modules/book-builder')
const winston = require('winston')
// const authsomeMode = require('./modules/authsome')
......@@ -28,7 +28,7 @@ module.exports = {
},
},
},
// bookBuilder,
bookBuilder,
epub: {
fontsPath: '/uploads/fonts',
},
......
......@@ -9,7 +9,7 @@ module.exports = [
oneOf: [
// ES6 JS
{
test: /\.jsx?$/,
test: /\.(js|jsx|mjs)$/,
include,
loader: 'babel-loader',
options: {
......@@ -62,7 +62,7 @@ module.exports = [
},
// files
{
exclude: [/\.jsx?$/, /\.html$/, /\.json$/],
exclude: [/\.(js|jsx|mjs)$/, /\.html$/, /\.json$/],
loader: 'file-loader',
options: {
name: 'static/media/[name].[hash:8].[ext]',
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment