Skip to content

Commit

Permalink
misc: remove unused proxy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Dec 10, 2024
1 parent e9dce71 commit 3f900c7
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 32 deletions.
1 change: 0 additions & 1 deletion getWebpackBaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ module.exports = function getBaseConfig({ themeFolder = null, styleLoader = 'sty
entry: {
app: './src/app.js',
adapter: './src/adapter.js',
proxy: './src/proxy.js',
redirect: './src/redirect.js',
},
resolve: {
Expand Down
21 changes: 0 additions & 21 deletions src/lib/ProxyFrameController.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/proxy.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
</head>
<body>
<div id="viewport"></div>
<script src="proxy.js"></script>
<!-- Keep this for compatible -->
</body>
</html>
7 changes: 0 additions & 7 deletions src/proxy.js

This file was deleted.

1 change: 0 additions & 1 deletion webpack-dev-server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ function getAppWebpackConfig({ brand }) {
});
config.entry = {
app: './src/app.js',
proxy: './src/proxy.js',
redirect: './src/redirect.js',
};
return config;
Expand Down
1 change: 0 additions & 1 deletion webpack-production.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ function getAppWebpackConfig({ brand }) {
];
config.entry = {
app: './src/app.js',
proxy: './src/proxy.js',
redirect: './src/redirect.js',
};
if (!process.env.LOCAL_EXTENSION_MODE) {
Expand Down

0 comments on commit 3f900c7

Please sign in to comment.