mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	webpack: Switch to TypeScript-based config
This commit is contained in:
		
							parent
							
								
									534fe87fb1
								
							
						
					
					
						commit
						947aaa6156
					
				| @ -27,7 +27,7 @@ | ||||
|     "build-backend-docs": "rm -rf ./docs/backend_api && ./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/backend_api src/becca/entities/*.js src/services/backend_script_api.js src/services/sql.js", | ||||
|     "build-frontend-docs": "rm -rf ./docs/frontend_api && ./node_modules/.bin/jsdoc -c jsdoc-conf.json -d ./docs/frontend_api src/public/app/entities/*.js src/public/app/services/frontend_script_api.js src/public/app/widgets/basic_widget.js src/public/app/widgets/note_context_aware_widget.js src/public/app/widgets/right_panel_widget.js", | ||||
|     "build-docs": "npm run build-backend-docs && npm run build-frontend-docs", | ||||
|     "webpack": "webpack -c webpack.config.js", | ||||
|     "webpack": "webpack -c webpack.config.ts", | ||||
|     "test-jasmine": "TRILIUM_DATA_DIR=~/trilium/data-test jasmine", | ||||
|     "test-es6": "node -r esm spec-es6/attribute_parser.spec.js ", | ||||
|     "test": "npm run test-jasmine && npm run test-es6", | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| const path = require('path'); | ||||
| const assetPath = require('./src/services/asset_path'); | ||||
| import path = require('path'); | ||||
| import assetPath = require('./src/services/asset_path'); | ||||
| 
 | ||||
| module.exports = { | ||||
|     mode: 'production', | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran