Project: vite
Task (challenging): I want to do something with sourcemap files in output directory.

## Requirements
- Move all sourcemap files into `<project_root>/sourcemaps` after build.
- Add `//# sourceMappingURL=https://internal.com/sourcemaps/<sourcemap_path>` at the end of original js file.

## Examples
Assume we have following files in dist directory before moving:
- dist/assets/index.js
- dist/assets/index.js.map

After moving, the files should be:
- dist/assets/index.js
- sourcemaps/assets/index.js.map

And the `dist/assets/index.js` should contain the following content at its end:
//# sourceMappingURL=https://internal.com/sourcemaps/assets/index.js.map