Better JS language integration for Pre-Request scripts and Test scripts (#1422)
* Add tern as dependency * Add build rule to transpile mjs * Initial implementation of the auto complete engine * Separate out the tern server code to separate file * Added extra type defs for tern server * Boost the pw completion result to the top of the list * Added acorn and acorn-walk as dependency * Semantic linting powered by tern * Fix DeepCode warnings for js-editor * Remove unused registerLint tern extension Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
@@ -326,6 +326,12 @@ export default {
|
||||
use: { loader: "raw-loader" },
|
||||
exclude: /(node_modules)/,
|
||||
})
|
||||
|
||||
config.module.rules.push({
|
||||
test: /\.mjs$/,
|
||||
include: /node_modules/,
|
||||
type: "javascript/auto"
|
||||
})
|
||||
}
|
||||
},
|
||||
parallel: true,
|
||||
|
||||
Reference in New Issue
Block a user