Skip to content

Commit

Permalink
Revert "build(html-templates): Avoid duplicate dependencies from link…
Browse files Browse the repository at this point in the history
…ed packages"

This reverts commit 5e00d0c.
  • Loading branch information
vio committed May 16, 2021
1 parent b2f97d3 commit 7a1a1ac
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/html-templates/webpack.config.common.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { resolve } = require('path');
const { merge } = require('webpack-merge');
const HtmlPlugin = require('html-webpack-plugin');
const HtmlInlineSourcePlugin = require('html-webpack-inline-source-plugin');
Expand All @@ -19,17 +18,6 @@ module.exports = merge(
entry: {
main: ['./polyfill.js', './index.jsx'],
},
resolve: {
alias: {
// Prevent dependencies from linked packages to be bundled twice
// https://app.relative-ci.com/projects/V1bXuieJbYttHCS75L8G/jobs/3543-fbab5d88-5be3-4591-86bf-92b5c8b8f740/packages?bp=%7B%22filters%22%3A%7B%22changed%22%3Afalse%2C%22duplicate%22%3Atrue%7D%2C%22search%22%3A%22~1%22%7D
lodash: resolve('./node_modules/lodash'),
'serialize-query-params': resolve('./node_modules/serialize-query-params'),
'query-string': resolve('./node_modules/query-string'),
'prop-types': resolve('./node_modules/prop-types'),
'decode-uri-component': resolve('./node_modules/decode-uri-component'),
},
},
plugins: [
new HtmlPlugin({
template: './index.html',
Expand Down

0 comments on commit 7a1a1ac

Please sign in to comment.