{"id":23135623,"url":"https://github.com/viewstools/webpack-views-loader","last_synced_at":"2025-04-04T08:24:13.296Z","repository":{"id":84374130,"uuid":"89740625","full_name":"viewstools/webpack-views-loader","owner":"viewstools","description":"Views (viewsdx.com) language morpher's webpack loader","archived":false,"fork":false,"pushed_at":"2017-05-04T18:11:09.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T19:34:58.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/viewstools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-28T20:01:32.000Z","updated_at":"2017-05-04T18:10:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed919244-212b-461b-90ae-099a90cb6267","html_url":"https://github.com/viewstools/webpack-views-loader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fwebpack-views-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fwebpack-views-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fwebpack-views-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/viewstools%2Fwebpack-views-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/viewstools","download_url":"https://codeload.github.com/viewstools/webpack-views-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247143748,"owners_count":20891001,"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-12-17T12:16:13.282Z","updated_at":"2025-04-04T08:24:13.286Z","avatar_url":"https://github.com/viewstools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Views (viewsdx.com) language morpher's webpack loader\n\nAdd a rule to your `webpack.config.js`'s `module/rules` list like:\n\n```\nmodule.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.view$/,\n        exclude: /(node_modules)/,\n        loader: 'views-loader',\n        options: {\n          map: {\n            Time: 'react-time',\n          },\n          // src: `${__dirname}/src`,\n        },\n      }\n    ],\n    // ...\n  }\n  // ...\n}\n```\n\nSee https://github.com/viewsdx/test-webpack for a sample app using this loader.\n\n## Known limitations\nIf you add a new file, you'll have to modify an existing one for webpack to recognise it.\n\nLicense BSD-Clause-3\n\nby UXtemple\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fwebpack-views-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviewstools%2Fwebpack-views-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviewstools%2Fwebpack-views-loader/lists"}