Fix standalone build

This commit is contained in:
daniel-j 2018-03-20 22:13:46 +01:00
parent 5698067473
commit c2e11b3f6d
2 changed files with 14 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{
"name": "fimfic2epub",
"version": "1.7.28",
"version": "1.7.29",
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
"author": "djazz",
"license": "MIT",

View file

@ -202,6 +202,19 @@ const bundleStaticNpmModuleConfig = {
module: {
rules: [
{
test: /\.js$/,
loader: 'babel-loader',
exclude: /node_modules/,
query: {
sourceMaps: !inProduction,
presets: [['env', {
targets: {
node: 'current'
}
}]]
}
},
{
test: /\.styl$/,
use: ['raw-loader', 'stylus-loader']