UNPKG

@rws-framework/client

Version:

This package provides the core client-side framework for Realtime Web Suit (RWS), enabling modular, asynchronous web components, state management, and integration with backend services. It is located in `.dev/client`.

15 lines (12 loc) 421 B
const path = require('path'); const fs = require('fs'); module.exports = function(content){ const filePath = this.resourcePath; const componentDir = path.dirname(filePath); const componentPath = path.resolve(componentDir, 'component.ts'); if(fs.existsSync(componentPath)){ const time = new Date(); fs.utimes(componentPath, time, time, () => {}); } return ''; }