Skip to content

Commit

Permalink
remove unrelated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ishpaul777 committed Nov 20, 2023
1 parent dd38869 commit 2a5139f
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions config/webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const path = require('path');
const portfinder = require('portfinder');
const {DefinePlugin} = require('webpack');
const {merge} = require('webpack-merge');
const CopyPlugin = require('copy-webpack-plugin');
const {TimeAnalyticsPlugin} = require('time-analytics-webpack-plugin');
const getCommonConfig = require('./webpack.common');

Expand Down Expand Up @@ -46,7 +45,6 @@ module.exports = (env = {}) =>
historyApiFallback: true,
port,
host: 'dev.new.expensify.com',
allowedHosts: 'all',
server: {
type: 'https',
options: {
Expand All @@ -59,27 +57,6 @@ module.exports = (env = {}) =>
new DefinePlugin({
'process.env.PORT': port,
}),
new CopyPlugin({
patterns: [
{from: 'web/favicon.png'},
{from: 'web/favicon-unread.png'},
{from: 'web/og-preview-image.png'},
{from: 'web/apple-touch-icon.png'},
{from: 'assets/images/expensify-app-icon.svg'},
{from: 'web/manifest.json'},
{from: 'assets/css', to: 'css'},
{from: 'assets/fonts/web', to: 'fonts'},
{from: 'node_modules/react-pdf/dist/esm/Page/AnnotationLayer.css', to: 'css/AnnotationLayer.css'},
{from: 'node_modules/react-pdf/dist/esm/Page/TextLayer.css', to: 'css/TextLayer.css'},
{from: 'assets/images/shadow.png', to: 'images/shadow.png'},
{from: '.well-known/apple-app-site-association', to: '.well-known/apple-app-site-association', toType: 'file'},
{from: '.well-known/assetlinks.json', to: '.well-known/assetlinks.json'},

// These files are copied over as per instructions here
// https://github.com/wojtekmaj/react-pdf#copying-cmaps
{from: 'node_modules/pdfjs-dist/cmaps/', to: 'cmaps/'},
],
}),
],
cache: {
type: 'filesystem',
Expand Down

0 comments on commit 2a5139f

Please sign in to comment.