@ng-annotate/vite-plugin 0.3.10 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createWsHandler } from './ws-handler.js';
|
|
2
2
|
import { createManifestPlugin } from './manifest.js';
|
|
3
|
-
import { setProjectRoot } from './store.js';
|
|
3
|
+
import { setProjectRoot, getStorePath } from './store.js';
|
|
4
4
|
// Default export for Angular's angular.json `plugins` option — Angular calls it as a function.
|
|
5
5
|
export default ngAnnotateMcp;
|
|
6
6
|
export function ngAnnotateMcp() {
|
|
@@ -9,6 +9,7 @@ export function ngAnnotateMcp() {
|
|
|
9
9
|
apply: 'serve',
|
|
10
10
|
configResolved(config) {
|
|
11
11
|
setProjectRoot(config.root);
|
|
12
|
+
config.logger.info(`[ng-annotate] store → ${getStorePath()}`);
|
|
12
13
|
},
|
|
13
14
|
configureServer(server) {
|
|
14
15
|
createWsHandler(server);
|
package/package.json
CHANGED