UNPKG

ember-source

Version:

A JavaScript framework for creating ambitious web applications

19 lines (13 loc) 476 B
'use strict'; const typescriptBlueprintPolyfill = require('ember-cli-typescript-blueprint-polyfill'); module.exports = { description: 'Generates a simple utility module/function.', shouldTransformTypeScript: true, init() { this._super && this._super.init.apply(this, arguments); typescriptBlueprintPolyfill(this); }, normalizeEntityName: function (entityName) { return entityName.replace(/\.js$/, ''); //Prevent generation of ".js.js" files }, };