From 1ace858bfe0082db8cf1e3045ef349f05fbc4250 Mon Sep 17 00:00:00 2001 From: Jake Archibald Date: Thu, 21 Feb 2019 15:02:17 +0000 Subject: [PATCH] Fixing others --- webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index b34e8c5a..e9bbb307 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -40,7 +40,7 @@ module.exports = async function (_, env) { return { mode: isProd ? 'production' : 'development', entry: { - 'first-interaction': './src/index' + 'first-interaction': path.join('.', 'src', 'index'), }, devtool: isProd ? 'source-map' : 'inline-source-map', stats: 'minimal', @@ -54,13 +54,13 @@ module.exports = async function (_, env) { resolve: { extensions: ['.ts', '.tsx', '.mjs', '.js', '.scss', '.css'], alias: { - style: path.join(__dirname, 'src/style') + style: path.join(__dirname, 'src', 'style') } }, resolveLoader: { alias: { // async-component-loader returns a wrapper component that waits for the import to load before rendering: - async: path.join(__dirname, 'config/async-component-loader') + async: path.join(__dirname, 'config', 'async-component-loader') } }, module: {