Pinned Repositories
aarupaliya
Config files for my GitHub profile.
Bobypaliya1
Config files for my GitHub profile.
content
The content behind MDN Web Docs
http-timer
🕐 Performance timings for HTTP requests
KSarvesh
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = env => { const htmlTemplate = "./src/index.html"; const plugins = env && env.clean ? [new CleanWebpackPlugin(), new HtmlWebpackPlugin({ template: htmlTemplate })] : [new HtmlWebpackPlugin({ template: htmlTemplate })]; const mode = env && env.prod ? "production" : "development"; return { devtool: "inline-source-map", entry: { app: "./src/app.js", }, mode, output: { filename: "[name].[contenthash].js", }, module: { rules: [ { test: /\.jsx/, exclude: /(node_modules)/, use: { loader: "babel-loader", options: { presets: ["@babel/preset-env", "@babel/preset-react"] } } } ] }, plugins, resolve: { extensions: [".jsx", ".js"], alias: { vue$: "vue/dist/vue.esm-bundler.js", }, }, devServer: { open: true } }; }; Footer © 2022 GitHub, Inc. Footer navigation Terms
Bobypaliya1's Repositories
Bobypaliya1/http-timer
🕐 Performance timings for HTTP requests
Bobypaliya1/aarupaliya
Config files for my GitHub profile.
Bobypaliya1/Bobypaliya1
Config files for my GitHub profile.
Bobypaliya1/content
The content behind MDN Web Docs
Bobypaliya1/KSarvesh
/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const HtmlWebpackPlugin = require("html-webpack-plugin"); module.exports = env => { const htmlTemplate = "./src/index.html"; const plugins = env && env.clean ? [new CleanWebpackPlugin(), new HtmlWebpackPlugin({ template: htmlTemplate })] : [new HtmlWebpackPlugin({ template: htmlTemplate })]; const mode = env && env.prod ? "production" : "development"; return { devtool: "inline-source-map", entry: { app: "./src/app.js", }, mode, output: { filename: "[name].[contenthash].js", }, module: { rules: [ { test: /\.jsx/, exclude: /(node_modules)/, use: { loader: "babel-loader", options: { presets: ["@babel/preset-env", "@babel/preset-react"] } } } ] }, plugins, resolve: { extensions: [".jsx", ".js"], alias: { vue$: "vue/dist/vue.esm-bundler.js", }, }, devServer: { open: true } }; }; Footer © 2022 GitHub, Inc. Footer navigation Terms