diff --git a/package.json b/package.json index 9378513d0..f58bec9d8 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "url": "https://github.com/standardnotes/web" }, "scripts": { - "start": "webpack-dev-server", + "start": "webpack-dev-server --progress", "bundle": "webpack --mode production", "build": "bundle install && npm install && npm run bundle", "submodules": "git submodule update --init --force --remote", diff --git a/public/dev.html b/public/dev.html deleted file mode 100644 index f4541b19c..000000000 --- a/public/dev.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - Notes ยท Standard Notes - - - - - - - - - - - - - diff --git a/webpack.config.js b/webpack.config.js index 545b4b3ad..05e415c02 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,7 +8,12 @@ module.exports = { filename: './javascripts/app.js' }, devServer: { - contentBase: path.resolve(__dirname, 'public'), + proxy: { + '/extensions': { + target: 'http://localhost:3000', + pathRewrite: { '^/extensions': '/public/extensions' } + } + }, port: 3000 }, plugins: [