All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.cjs.configs.scripts.dead-code-eliminator.constants.js Maven / Gradle / Ivy

Go to download

A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.

There is a newer version: 4.12.3
Show newest version
const RAILS_MOUNTED_COMPONENTS_REGEX = /app\/javascript\/src\/[^/]*\.(js|jsx)$/;
const PACKS_FILES_REGEX = /app\/javascript\/packs\/[^/]*\.(js|jsx)$/;

const TYPES = {
  CLASS_DECLARATION: "ClassDeclaration",
  FUNCTION_DECLARATION: "FunctionDeclaration",
  IMPORT_DEFAULT_SPECIFIER: "ImportDefaultSpecifier",
  IMPORT_NAMESPACE_SPECIFIER: "ImportNamespaceSpecifier",
  VARIABLE_DECLARATION: "VariableDeclaration",
};

module.exports = { RAILS_MOUNTED_COMPONENTS_REGEX, PACKS_FILES_REGEX, TYPES };




© 2015 - 2024 Weber Informatics LLC | Privacy Policy