• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    JavaScript
  • Created almost 8 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

webpack loader

magix-loader Version Number THX Team License download

webpack loader

examples

module.exports = {
    entry: './app/index.js', //默认,可覆盖
    output: {
        path: path.join(__dirname, 'build'),
        filename: '[name].js'
    },
    module: {
        rules: [{
            test:/\.(?:mx|js)$/, // js or mx 后缀
            include:[
                path.resolve(__dirname,'app')//只处理app目录
            ],
            use:[{
                loader:'magix-loader',
                options:{//编译器配置项,magix-loader 使用 magix-combine,这里是magix-combine的配置项 https://github.com/thx/magix-combine/issues/17
                    //compressCss:false
                }
            }]
        }]
    }
};

More Repositories

1

RAP

Web接口管理工具,开源免费,接口自动化,MOCK数据自动生成,自动化测试,企业级管理。阿里妈妈MUX团队出品!阿里巴巴都在用!1000+公司的选择!RAP2已发布请移步至https://github.com/thx/rap2-delos
JavaScript
10,573
star
2

rap2-delos

阿里妈妈前端团队出品的开源接口管理工具RAP第二代
TypeScript
7,620
star
3

gogocode

GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
JavaScript
5,408
star
4

rap2-dolores

TypeScript
609
star
5

iconfont-plus

新版iconfont仓库,代码暂时不具备开源的条件。主要作为issues的仓库,不排除以后直接把代码在此开源。
466
star
6

cube

跨终端、响应式、低设计耦合的CSS解决方案
SCSS
422
star
7

magix

Magix is designed to construct large scaled,complex interactions app.
JavaScript
420
star
8

chartx

Data Visualization Solutions
JavaScript
223
star
9

magix-combine

按占位符规则把html、css文件打包进js文件
JavaScript
152
star
10

magix-inspector

magix项目调试分析工具
JavaScript
135
star
11

magix-project

magix示例项目
JavaScript
126
star
12

magix-gallery

magix gallery
HTML
107
star
13

magix-os

基于Magix开发的web桌面系统
JavaScript
103
star
14

thx.github.io

The Gateway
HTML
99
star
15

rapper

一个自带类型的请求库
TypeScript
96
star
16

bisheng

BI-Directional / Two-Way Data-Binding Library
JavaScript
67
star
17

canvax

canvas library
JavaScript
48
star
18

image_grabber

Image Grabber
JavaScript
45
star
19

brix-bisheng

纯粹的数据双向绑定库。
JavaScript
42
star
20

vscode-magix

vscode 上的 Magix 开发插件,提升你的开发体验!
TypeScript
42
star
21

html-code-guide

HTML Code Guide
35
star
22

brix-core

Brix Core
JavaScript
25
star
23

crox

JavaScript
22
star
24

brix-loader

Brix 组件加载器
JavaScript
19
star
25

thx-portal-rule

可视化规则编辑器
TypeScript
15
star
26

kslite

一个小巧精致的加载器
JavaScript
11
star
27

brix-components

Brix 组件仓库
JavaScript
9
star
28

FE-tools

项目辅助chrome插件
JavaScript
9
star
29

vscode-gogocode

use code to refactor your code easily
TypeScript
8
star
30

magix-demo-ad

广告系统DEMO
JavaScript
7
star
31

thx-cli

THX CLI
TypeScript
6
star
32

magix-cli-book

magix-cli gitbook文档
6
star
33

brix-animation

brix声明式动画
JavaScript
6
star
34

magix-bp

Tutorial application of Magix
JavaScript
5
star
35

RAP.node

RAP node server
JavaScript
5
star
36

gogocode-starter

gogocode starter
JavaScript
4
star
37

brix-spec

CSS
4
star
38

brix-event

支持 bx-type 风格的事件模型,实现事件与与 DOM 结构的松耦合,提升可读性、可复用性和可测试性。
JavaScript
4
star
39

magix-doc3

magix3.x doc
JavaScript
3
star
40

aliminiapp-pixiv6-demo

手淘小程序PIXIJS v6互动引擎使用样例
JavaScript
3
star
41

magix5-gallery

magix5组件库
JavaScript
2
star
42

brix-style

Brix Style - Foundation
JavaScript
2
star
43

magix-composer

compile html, style and javascript files into javascript
JavaScript
2
star
44

gitbook-to-gh-pages

本地gitbook同步发布到github pages工具
JavaScript
2
star
45

base

Base of THX websites
CSS
2
star
46

magix-api

magix api
CSS
1
star
47

animore

JavaScript
1
star
48

magix-hmr

magix hot module replacement
JavaScript
1
star
49

thx-scripts

微前端构建工具,内置支持 Webpack5 模块邦联(Module Federation)。
TypeScript
1
star
50

magix-demo-ppt

2012.12月1.0刚完成时的总结,不适用于cdn上的1.0
1
star
51

brix-site

已废弃,请访问
HTML
1
star
52

auto-open-chrome

auto open chrome
AppleScript
1
star