Skip to content

Commit

Permalink
Merge pull request #1736 from IGNF/styleguidist-config
Browse files Browse the repository at this point in the history
makes styleguidist config work on windows (refs #1726)
  • Loading branch information
KaiVolland committed Jun 9, 2022
2 parents 364a966 + 9f12784 commit 3094c92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webpack.dev.config.js
@@ -1,5 +1,6 @@
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
const path = require('path');
require('@babel/polyfill');

module.exports = {
Expand All @@ -10,7 +11,7 @@ module.exports = {
],
output: {
filename: "geostyler.js",
path: __dirname + "/browser",
path: path.join(__dirname, "browser"),
library: "GeoStyler"
},
mode: 'development',
Expand Down Expand Up @@ -46,7 +47,7 @@ module.exports = {
},
{
test: /\.(ts|tsx)$/,
include: __dirname + '/src',
include: path.join(__dirname, 'src'),
use: [
{
loader: require.resolve('ts-loader'),
Expand Down

0 comments on commit 3094c92

Please sign in to comment.