Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rchaser53/39a2cdb70d97c09b7d136d8aca73dd81 to your computer and use it in GitHub Desktop.
Save rchaser53/39a2cdb70d97c09b7d136d8aca73dd81 to your computer and use it in GitHub Desktop.
redux-towerに使えるかな?
// redux-towerに使えるかな?
function interested(filename: string): boolean {
return filename.slice(filename.lastIndexOf('.')) === ".vue";
}
function importInterested(filename: string): boolean {
return interested(filename) && filename.slice(0, 2) === "./";
}
@rchaser53
Copy link
Author

冷静に考えて何も変わらなかった

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment