diff --git a/src/common/stylesheets/view.scss b/src/common/stylesheets/view.scss new file mode 100644 index 00000000..df82b437 --- /dev/null +++ b/src/common/stylesheets/view.scss @@ -0,0 +1,3 @@ +html, body { + overscroll-behavior: none; +} diff --git a/webpack.config.js b/webpack.config.js index 2e44f262..c7957ff3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -159,7 +159,10 @@ function generateViewConfig(build) { mode: build === 'view-dev' ? 'development' : 'production', devtool: build === 'web' ? false : 'source-map', entry: { - view: ['./src/index.' + build + '.js'] + view: [ + './src/index.' + build + '.js', + './src/common/stylesheets/view.scss' + ], }, output: { path: path.resolve(__dirname, './build/' + build),