Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New repository for stackedit #1805

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed all hard errors.
  • Loading branch information
SamTV12345 committed Oct 29, 2022
commit 02a00837614b8897df6174a28ec7c2425f44ef85
4 changes: 3 additions & 1 deletion build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function resolve (dir) {
}

module.exports = {
mode: 'development', //add this line here
entry: {
app: './src/'
},
Expand All @@ -27,7 +28,8 @@ module.exports = {
'@': resolve('src')
},
fallback: {
fs: false
fs: false,
"path": require.resolve("path-browserify")
}
},
module: {
Expand Down
1 change: 1 addition & 0 deletions build/webpack.dev.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Object.keys(baseWebpackConfig.entry).forEach(function (name) {
})

module.exports = merge(baseWebpackConfig, {
mode: 'development', //add this line here
module: {
rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
},
Expand Down
1 change: 1 addition & 0 deletions build/webpack.prod.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function resolve (dir) {
var env = config.build.env

var webpackConfig = merge(baseWebpackConfig, {
mode: 'production', //add this line here
module: {
rules: utils.styleLoaders({
sourceMap: config.build.productionSourceMap,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"mermaid": "^8.9.2",
"mousetrap": "^1.6.1",
"normalize-scss": "^7.0.1",
"path-browserify": "^1.0.1",
"prismjs": "^1.6.0",
"request": "^2.85.0",
"serve-static": "^1.13.2",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9508,6 +9508,11 @@ path-browserify@0.0.1:
resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a"
integrity sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==

path-browserify@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-1.0.1.tgz#d98454a9c3753d5790860f16f68867b9e46be1fd"
integrity sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==

path-dirname@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
Expand Down