OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
swagger-ui-5.17.14
/
webpack
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:33:48 AM
rwxr-xr-x
📄
_config-builder.js
4.13 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
_helpers.js
440 bytes
08/07/2024 04:33:45 AM
rw-r--r--
📄
bundle.js
1.37 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
core.js
434 bytes
08/07/2024 04:33:45 AM
rw-r--r--
📄
dev-e2e.js
1.61 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
dev.js
3.02 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
es-bundle-core.js
2.48 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
es-bundle.js
1.37 KB
08/07/2024 04:33:45 AM
rw-r--r--
📄
standalone.js
480 bytes
08/07/2024 04:33:45 AM
rw-r--r--
📄
stylesheets.js
1.61 KB
08/07/2024 04:33:45 AM
rw-r--r--
Editing: stylesheets.js
Close
/** * @prettier */ // NOTE: this config *does not* inherit from `_config-builder`. // It is also used in the dev config. const path = require("path") const MiniCssExtractPlugin = require("mini-css-extract-plugin") module.exports = { mode: "production", entry: { "swagger-ui": "./src/style/main.scss", }, module: { rules: [ { test: [/\.(scss)(\?.*)?$/], use: [ { loader: MiniCssExtractPlugin.loader, }, { loader: "css-loader", options: { sourceMap: true }, }, { loader: "postcss-loader", options: { postcssOptions: { sourceMap: true, plugins: [ require("cssnano")(), "postcss-preset-env", // applies autoprefixer ], }, }, }, { loader: "sass-loader", options: { // Prefer `dart-sass` implementation: require("sass"), sourceMap: true, sassOptions: { quietDeps: true, }, }, }, ], }, ], }, plugins: [ new MiniCssExtractPlugin({ filename: "[name].css", }), ], devtool: "source-map", output: { path: path.join(__dirname, "../", "dist"), publicPath: "/dist", }, optimization: { splitChunks: { cacheGroups: { styles: { name: "styles", test: /\.css$/, chunks: "all", enforce: true, }, }, }, }, }