Skip to content

Commit

Permalink
🔧 chore: add charlotte entry
Browse files Browse the repository at this point in the history
Signed-off-by: SimonShiki <[email protected]>
  • Loading branch information
SimonShiki committed Mar 17, 2024
1 parent a00e4c1 commit 8492310
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions src/charlotte.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export { version } from '../package.json';
export { inject } from './injector/inject';
export { settings } from './util/settings';
import openFrontend from './frontend';
export {
openFrontend
};
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const standalone = {
const charlotte = {
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
target: 'web',
entry: './src/injector/inject.ts',
entry: './src/charlotte.ts',
experiments: {
outputModule: true
},
Expand Down

0 comments on commit 8492310

Please sign in to comment.