Software: Apache. PHP/5.6.40 uname -a: Linux cpanel06wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.80.el6.x86_64 #1 SMP Thu Sep 24 uid=851(cp949260) gid=853(cp949260) groups=853(cp949260) Safe-mode: OFF (not secure) /opt/passenger-5.3.7-4.el6.cloudlinux/resources/templates/error_renderer/with_details/ drwxr-xr-x |
Viewing file: Select action/file-type: const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); const extractCSS = new ExtractTextPlugin('styles.css'); module.exports = { entry: ['./src/index.jsx'], output: { path: path.resolve(__dirname, 'dist'), filename: 'bundle.js' }, module: { rules: [ { test: /\.(js|jsx)$/, use: { loader: 'babel-loader', options: { presets: ['env', 'react'] } } }, { test: /\.css$/, use: extractCSS.extract({ use: { loader: 'css-loader', options: { minimize: true } }, fallback: 'style-loader' }) }, ] }, plugins: [ extractCSS, new UglifyJSPlugin(), new webpack.ProvidePlugin({ $: 'jquery', jQuery: 'jquery' }) ] }; |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0735 ]-- |