Skip to content

Commit

Permalink
Switch to the now published @openwebwork/codemirror-lang-pg package.
Browse files Browse the repository at this point in the history
  • Loading branch information
drgrice1 committed Oct 7, 2024
1 parent 5132385 commit a39eb9b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
20 changes: 14 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/theme-one-dark": "^6.1.2",
"@openwebwork/codemirror-lang-pg": "file:../codemirror-lang-pg-link",
"@openwebwork/codemirror-lang-pg": "^0.0.1-beta.1",
"@replit/codemirror-emacs": "^6.1.0",
"@replit/codemirror-vim": "^6.2.1",
"cm6-theme-basic-dark": "^0.2.0",
Expand Down
6 changes: 1 addition & 5 deletions webpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ export default (_env, argv) => {
modules: ['node_modules'],
extensions: ['.ts', '.js'],
mainFields: ['browser', 'module', 'main'],
alias: { src: path.resolve(import.meta.dirname, 'src') },
symlinks: false
},
snapshot: {
managedPaths: [/^(.+?[\\/]node_modules[\\/](?!(@openwebwork[\\/]codemirror-lang-pg))(@.+?[\\/])?.+?)[\\/]/]
alias: { src: path.resolve(import.meta.dirname, 'src') }
},
module: {
rules: [
Expand Down

0 comments on commit a39eb9b

Please sign in to comment.