{"id":17772621,"url":"https://github.com/jamesplease/sourcemap-options","last_synced_at":"2026-01-11T01:41:31.559Z","repository":{"id":13984389,"uuid":"16685316","full_name":"jamesplease/sourcemap-options","owner":"jamesplease","description":"The future source map options for the entire grunt-contrib suite","archived":false,"fork":false,"pushed_at":"2014-03-04T14:25:40.000Z","size":189,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-07T09:41:59.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jamesplease.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-10T05:22:57.000Z","updated_at":"2017-05-27T20:00:02.000Z","dependencies_parsed_at":"2022-07-31T17:38:53.822Z","dependency_job_id":null,"html_url":"https://github.com/jamesplease/sourcemap-options","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Fsourcemap-options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Fsourcemap-options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Fsourcemap-options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamesplease%2Fsourcemap-options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamesplease","download_url":"https://codeload.github.com/jamesplease/sourcemap-options/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246660081,"owners_count":20813338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-26T21:40:05.104Z","updated_at":"2026-01-11T01:41:31.553Z","avatar_url":"https://github.com/jamesplease.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"sourcemap-options\n=================\n\nThe future source map options for the `grunt-contrib` suite. Any plugin that can't support the source map options through its associated library will rely on an external helper library (in the works) to shim the functionality.\n\n### Options\n\n#### sourceMap \n\nType: `boolean`  \nDefault: `false`  \n\nSet to true to create a source map. The source map will be created alongside the destination file, and share the same file name with the `.map` extension appended to it.\n\n#### sourceMapName  \n\nType: `string`  `function`  \nDefault: `undefined`\n\nTo customize the name or location of the generated source map, pass a string to indicate where to write the source map to. If a function is provided, the destination file path is passed as the argument and the return value will be used as the file name.\n\n#### sourceMapStyle\n\nType: `string`  \nDefault: `\"embed\"`\n\nDetermines the type of source map that is generated. The default value, `embed`, places the content of the sources directly into the map. `link` will reference the original sources in the map as links. `inline` will store the entire map as a data URI in the destination file.\n\n### Supported use cases\n\n* The most basic case is supported by simply setting `sourceMap: true`. No other config necessary.\n* Moving/changing the name of the map: using sourceMapName\n* Including an older source map: done automatically by parsing the sourceMappingURL of any source files.\n* The directory structure of the project differing from the webserver (for instance, the webroot being at, say, `/build`)\n\n\n### Unsupported use cases\n\n* Storing the source map on another server\n* Separating the source map from the source files. Use the embed or datauri option instead\n* Combining datauri with the `link` style\n\n### Resources\n\n* [Source Map Revision 3 Proposal](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Fsourcemap-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamesplease%2Fsourcemap-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamesplease%2Fsourcemap-options/lists"}