Skip to content

求提供一个TextInline插件 #353

Description

@otakustay

效果是将text插件加载的模块直接变成字符串,如:

// foo.tpl
<div>
    Hello World
</div>

// foo.js
var fooText = require('text!./foo.tpl');

编译后:

var fooText = '<div>\n    HelloWorld\n</div>';

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions