PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
themes
/
wilcity
// webpack.config.js const webpack = require("webpack"); const path = require("path"); require("dotenv").config({ path: "./.env" }); const VueLoaderPlugin = require("vue-loader/lib/plugin"); const MiniCssExtractPlugin = require("mini-css-extract-plugin"); const ASSET_URL = process.env.ASSET_URL; const chunkFilename = process.env.NODE_ENV !== "production" ? "[name].[id].js" : "[name].[hash].js"; module.exports = { target: "web", node: { fs: false }, entry: { activeListItem: "./assets/dev/js/activeListItem.js", MagnificGalleryPopup: "./assets/dev/js/MagnificGalleryPopup.js", addlisting: "./assets/dev/js/addlisting.js", customLogin: "./assets/dev/js/customLogin.js", app: "./assets/dev/js/app.js", dashboard: "./assets/dev/js/dashboard.js", FavoriteStatistics: "./assets/dev/js/FavoriteStatistics.js", general: "./assets/dev/js/general.js", index: "./assets/dev/js/index.js", SearchFormV1: "./assets/dev/js/SearchFormV1.js", "quick-search": "./assets/dev/js/quick-search.js", resetPassword: "./assets/dev/js/resetPassword.js", shortcodes: "./assets/dev/js/shortcodes.js", "single-event": "./assets/dev/js/single-event.js", "single-listing": "./assets/dev/js/single-listing.js", WilokeDirectBankTransfer: "./assets/dev/js/WilokeDirectBankTransfer.js", WilokeGoogleMap: "./assets/dev/js/WilokeGoogleMap.js", WilokePayPal: "./assets/dev/js/WilokePayPal.js", WilokeSubmissionCouponCode: "./assets/dev/js/WilokeSubmitCouponCode.js", // addListingLog: './assets/dev/js/TestAddListingLog.js', proceedPayment: "./assets/dev/js/ProceedPayment.js", SearchFormV2: "./assets/dev/js/SearchFormV2.js", HeroSearchForm: "./assets/dev/js/HeroSearchForm.js", LoginRegister: "./assets/dev/js/LoginRegister.js", becomeAnAuthor: "./assets/dev/js/BecomeAnAuthor.js" }, output: { filename: "[name].min.js", chunkFilename: chunkFilename, path: path.resolve(__dirname, "assets/production/js"), publicPath: ASSET_URL }, watch: true, module: { rules: [ { test: /\.vue$/, loader: "vue-loader" }, { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" }, { test: /\.(sa|sc|c)ss$/i, use: [ process.env.NODE_ENV !== "production1" ? "vue-style-loader" : MiniCssExtractPlugin.loader, "css-loader", "sass-loader" ] } ] }, plugins: [ // make sure to include the plugin for the magic new VueLoaderPlugin() ], optimization: { splitChunks: { chunks: "async", cacheGroups: { // Cache Group vendors: { test: /[\/]node_modules[\/]/, priority: -10 }, default: { minChunks: 2, priority: -20, reuseExistingChunk: true } } } }, resolve: { alias: { vue$: "vue/dist/vue.esm.js" // 'vue/dist/vue.common.js' for webpack 1 } } };
[+]
..
[-] taxonomy-listing_tag.php
[edit]
[-] webpack.dev.js
[edit]
[-] searchform.php
[edit]
[+]
assets
[-] .babelrc
[edit]
[-] webpack.common.js
[edit]
[-] 404.php
[edit]
[-] search.php
[edit]
[+]
hooks
[-] sidebar-events.php
[edit]
[+]
templates
[+]
post-types
[-] package.json
[edit]
[+]
dashboard
[-] author-listing.php
[edit]
[+]
src
[-] single-event.php
[edit]
[-] functions.php
[edit]
[-] taxonomy-listing_location.php
[edit]
[-] taxonomy-listing_cat.php
[edit]
[-] before-footer.php
[edit]
[-] sidebar-event.php
[edit]
[+]
plugins
[-] archive.php
[edit]
[+]
admin
[+]
single-listing
[-] sidebar.php
[edit]
[+]
configs
[-] header.php
[edit]
[-] page.php
[edit]
[+]
woocommerce
[-] webpack.prod.js
[edit]
[-] single.php
[edit]
[-] .DS_Store
[edit]
[+]
author-listing
[-] .gitignore
[edit]
[+]
vendor
[-] sidebar-shop.php
[edit]
[-] rollup.config.js
[edit]
[+]
wiloke-submission
[-] footer-widget.php
[edit]
[-] footer.php
[edit]
[-] taxonomy.php
[edit]
[-] wilcity-term.php
[edit]
[-] style.css
[edit]
[-] vue.config.js
[edit]
[-] comments.php
[edit]
[-] index.php
[edit]
[+]
single-event
[+]
languages
[-] .wilcity.php
[edit]
[-] after-body.php
[edit]
[-] changelog.txt
[edit]
[-] package-lock.json
[edit]
[-] screenshot.jpg
[edit]
[-] composer.json
[edit]
[-] README.md
[edit]
[-] author.php
[edit]
[+]
reviews
[+]
single-post
[-] comment-template.php
[edit]