Skip to content

Commit

Permalink
VM updated
Browse files Browse the repository at this point in the history
  • Loading branch information
YunPearce committed Mar 26, 2024
1 parent 30efc2b commit f78b7ea
Show file tree
Hide file tree
Showing 11 changed files with 17,394 additions and 10,241 deletions.
33 changes: 33 additions & 0 deletions near/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/near/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build
/near/dist

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

#IDE
.idea

target
neardev

# OS X
.DS_Store
38 changes: 19 additions & 19 deletions near/config/webpack.development.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const path = require("path");
const { HotModuleReplacementPlugin } = require("webpack");
const path = require('path')
const { HotModuleReplacementPlugin } = require('webpack')

module.exports = () => ({
devtool: false,
Expand All @@ -10,39 +10,39 @@ module.exports = () => ({
use: [
{
// inject CSS to page
loader: "style-loader",
loader: 'style-loader'
},
{
// translates CSS into CommonJS modules
loader: "css-loader",
loader: 'css-loader'
},
{
// Run postcss actions
loader: "postcss-loader",
loader: 'postcss-loader',
options: {
// `postcssOptions` is needed for postcss 8.x;
// if you use postcss 7.x skip the key
postcssOptions: {
// postcss plugins, can be exported to postcss.config.js
plugins: function () {
return [require("autoprefixer")];
},
},
},
return [require('autoprefixer')]
}
}
}
},
{
// compiles Sass to CSS
loader: "sass-loader",
},
],
},
],
loader: 'sass-loader'
}
]
}
]
},
devServer: {
open: true,
static: path.resolve(__dirname, "../dist"),
port: 3000,
compress: true,
static: path.resolve(__dirname, '../dist'),
port: 80,
compress: true
},
plugins: [new HotModuleReplacementPlugin()],
});
plugins: [new HotModuleReplacementPlugin()]
})
5,854 changes: 5,853 additions & 1 deletion near/dist/index.js

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions near/dist/index.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
26 changes: 13 additions & 13 deletions near/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion near/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"url": "^0.11.0",
"webpack": "^5.52.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.8.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.1.0",
"webpack-manifest-plugin": "^5.0.0",
"webpack-merge": "^5.8.0",
Expand Down
Loading

0 comments on commit f78b7ea

Please sign in to comment.