-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1736 from OpenC3/ace-diff-vite
Migrate ace-diff from Webpack to Vite
- Loading branch information
Showing
10 changed files
with
33 additions
and
134 deletions.
There are no files selected for viewing
11 changes: 0 additions & 11 deletions
11
openc3-cosmos-init/plugins/packages/openc3-cosmos-ace-diff/.babelrc
This file was deleted.
Oops, something went wrong.
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
openc3-cosmos-init/plugins/packages/openc3-cosmos-ace-diff/babel.config.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
openc3-cosmos-init/plugins/packages/openc3-cosmos-ace-diff/vite.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { defineConfig } from 'vite' | ||
|
||
export default defineConfig({ | ||
build: { | ||
sourcemap: true, | ||
rollupOptions: { | ||
input: ['./src/index.js', './src/styles/ace-diff.scss', './src/styles/ace-diff-dark.scss'], | ||
output: { | ||
entryFileNames: 'ace-diff.min.js', | ||
assetFileNames: '[name].min[extname]', | ||
}, | ||
preserveEntrySignatures: 'strict', | ||
}, | ||
}, | ||
}) |
57 changes: 0 additions & 57 deletions
57
openc3-cosmos-init/plugins/packages/openc3-cosmos-ace-diff/webpack.config.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters