mirror of
https://github.com/daniel-j/fimfic2epub.git
synced 2024-06-30 20:10:43 +12:00
Fix standalone build
This commit is contained in:
parent
5698067473
commit
c2e11b3f6d
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "fimfic2epub",
|
"name": "fimfic2epub",
|
||||||
"version": "1.7.28",
|
"version": "1.7.29",
|
||||||
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
"description": "Tool to generate improved EPUB ebooks from Fimfiction stories",
|
||||||
"author": "djazz",
|
"author": "djazz",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -202,6 +202,19 @@ const bundleStaticNpmModuleConfig = {
|
||||||
|
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
{
|
||||||
|
test: /\.js$/,
|
||||||
|
loader: 'babel-loader',
|
||||||
|
exclude: /node_modules/,
|
||||||
|
query: {
|
||||||
|
sourceMaps: !inProduction,
|
||||||
|
presets: [['env', {
|
||||||
|
targets: {
|
||||||
|
node: 'current'
|
||||||
|
}
|
||||||
|
}]]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.styl$/,
|
test: /\.styl$/,
|
||||||
use: ['raw-loader', 'stylus-loader']
|
use: ['raw-loader', 'stylus-loader']
|
||||||
|
|
Loading…
Reference in a new issue